I like the concept of this level, but I have a couple of comments.
I don’t like that I can only attack those with less than 10 health. It should be anyone that I can one-hit without veering from the path. (So a ranger with a powerful bow can take out more enemies.) Though you could scale the enemy health to counter this. Of course maybe this level is before the player knows about
This is a bigger deal. It seems dangerous to be using the global variable
stepthe way it is in the program. I think the code could be changed to work based on the hero position instead couldn’t it?
hero.moveXY(hero.pos.x + 12, 8)