Left / Right Arrow Keys - Move.
Spacebar - Jump.
Up / Down Arrow Keys - Change floors when you are at the edge of the board.
A - Plant the Anvil Trap.
M - Plant the Monstoids Trap.
If the game freezes, just click inside it (games can get unresponsive if you click elsewhere on the page).