If the game freezes, just click inside it (games can get unresponsive if you click elsewhere on the page).
Pick up treasures and eat the monsters to prevent the monsters from bitting your pipes. Let Bomb touch your pipes , but don't eat them.
Arrow Keys - Move the pipe.
Spacebar - Turn Back the pipe.