If the game freezes, just click inside it (games can get unresponsive if you click elsewhere on the page).
Use your samurai sword skills to cut up the enemies that continue to appear.
Left / Right Arrow Keys - Move.
Up Arrow Key - Jump.
Down Arrow Key - Duck.
A, S, D, F - Attack.