answer me this:
have you paid chipmunk to remove his copyright-notice or are you just using his code and claim it as your own?
Maybe this is just me, but the first thing I thought when I saw your game was: woha, look at that. Killmonster! And filenames like "slaymonster.php" aren't really helping to solve this mystery.
If you are using someones work, at least give him the credit he deserves. It's ok, actually it's great, to build a game upon someones baseframe (and this is what killmonster is for, eventho it's really, really bad code as you'll later realize).
Anyways:
- you need to look at your battle-script: If a player dies, it's unable to update the player database.
- You can kill monster even if you are technically dead. Meaning if the monster "kills" you (reduces your hp to 0) you are still able to make one additional swing. Just throw in an if-statement before each swing.
- You should consider your link-layout. Meaning that if you access the healer, you should have both options (go back to main, go back to the city) and so on.
- when you fight someone (I only fought once) there is a number in front of the actual text (for me it was 41)
That was my 5 minutes bug-report. Hope it helped
But I'm interested as to what you're gonna make out of it

P.S: welcome to the forums,