Battleship | JavaScriptSource


Jason Hotchkiss Dec 15, 1999


Enter into a naval battle against your computer. But watch out, your adversary is not stupid!

Click here to open the game in a new window.


  • Created by: Jason Hotchkiss
  • Posted: December 15, 1999

Source Code

Paste this source code into the designated areas.


Paste this code into your external CSS file or in the <style> section within the HEAD section of your HTML document.


Paste this code into the BODY section of your HTML document


Download the images using the URL below:

Leave a Response


How do I make the images appear on the game when I open the game using internet explorer I just get the code without pictures

Giorgio Dec 12, 2015

Can you send me a copy of the source code for your battleship javascript? Thanks. M. Stevens

M Stevens Nov 6, 2014

good one! this way i can modify the game parameters.

someone May 14, 2008