If the game freezes, just click inside it (games can get unresponsive if you click elsewhere on the page).
Protect your castle from the enemies from underground. You have to dig deep and find treasures hidden in the ground. You can then build defense towers and solve your problems. Also do not forget about the upgrades.
This game is played with mouse only.