This version of the Battleship Game locates a ship on a random integer point in the square whose corners are at (-100,-100), (100,-100), (100,100), and (-100,100). Your job is to determine the location of the ship by making guesses. After each guess, the program will respond by telling you how far your guess is from the actual location of the ship. Some time in the future, when I have more expertise and time, it would be interesting to construct a version that has a graphic of the playing field, and that allows the user to select a point by clicking on it. Although interesting, such a version may not be any better in 'teaching' users the coordinate numering system and the location of points. There are a number of versions of the Battleship program listed on the main battleship page.
©Roger M. Palay Saline, MI 48176 December, 1997