Use arrow keys to move your sub around the water. If you get stuck on the wall, just spam your left arrow key to get unstuck. If at any time your touch the green walls, you die. You need to get to the large green flag in order to win. You have 5 lives, after that, game over.
Haven't posted posted in a while, just something i whipped up during a long period of boredom.