UPDATE! the health stat now shows (hover your mouse over the little red thing on the bottom left) and the enemy now can attack you! This is an improved version of @smartguy007's battle arena engine for their game, Pixelon. i tried to make the code a little cleaner, and more importantly, i added a bunch of new graphics. by the way, for the pixel-throw, did i interpret the black dot correctly? i made it a rock, but i wasnt sure if thats what you were going for.
You can now block and have a x2 attack!