Use A and D to move left/right. Avoid the torpedoes and ram the submarines with the tip of the bow. Good luck, and share your score in the comments!
Let me know about any bugs in the comments , and i'll try to fix them.