Battleship: Version I20.F

This version of the Battleship Game locates a ship on a random integer point in the square whose corners are at (-10,-10), (10,-10), (10,10), and (-10,10). 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.

All guesses must be in range, from -10 through 10, and all will be converted to integer values.
Good luck!

Give the x and y values of your guess, and then click on the "GUESS" button.
x=  ,  y=      

   

©Roger M. Palay
Saline, MI 48176
December, 1997