If the game freezes, just click inside it (games can get unresponsive if you click elsewhere on the page).
Block enemy attacks and attack them back as you stay alive and beat the end monster.
Arrow keys to move.
A to attack.
S to defend.
D to jump.