nice idea but you need to debug when the player wait for more than 2 seconds to move, because the enemy push the player to the wall and makes it fall and i needed to refresh the page. After this bug, i played and was a nice idea and simple to understand, good job!