If the game freezes, just click inside it (games can get unresponsive if you click elsewhere on the page).
Pickup all the treasures of the ocean and buy upgrades for your hook, engines and oxygen tanks with the money you make. Uboat is a funny skill game which will awake the treasure hunter inside of you.
Arrow Keys - Move.
Spacebar - Use the Hook.