If the game freezes, just click inside it (games can get unresponsive if you click elsewhere on the page).
Your objective is to protect the battleship
at any cost by shooting down as many enemy planes as
possible. If they fly by you, they will bomb the ship. Once
it's sunk the game is over.