SeaBattle

SeaBattle is an embedded HTML5 application that presents a game where you (a destroyer) do battle with a submarine. It demonstrates HTML5's canvas element and should work with all modern browsers.

Press the left arrow or right arrow to move the ship left or right. Press the spacebar to fire a depth charge at the sub. You might have to press the Tab key or click the canvas to give it keyboard focus.