If the game freezes, just click inside it (games can get unresponsive if you click elsewhere on the page).
The object of the game is to fill you castle full of gold before your opponent can!
J - attack.
K/L - move.
S - Attack.
D/F - move.