This version of the Battleship Game locates a ship (spaceship?) in three-dimensional space, not on the two-dimensional xy-plane. For this version, the ship is located on a random integer point in the cube restricted so that each of the three coordinates, x, y, and z, has a value between -10 and 10 inclusive. The ship does not move from guess to guess. 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. There are a number of versions of the Battleship program listed on the main battleship page.
©Roger M. Palay Saline, MI 48176 December, 1997