If the game freezes, just click inside it (games can get unresponsive if you click elsewhere on the page).
The objective of the game is to prevent the game field from filling with white pearls. You can do this by clicking on blocks. When you pop them everything above or around collapses on them. You can also get bonuses for playing well.