Battleship: Version Ixy.F

This version of the Battleship Game locates a ship on a random integer point in the rectangle whose corners you configure. 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 that you set, and all guesses will be converted to integer values.
The ranges for x and y can be changed, but must be at least 10 units wide.

Note that changes in the range for x and y do no take effect until the start of the next game.

Good luck!

low_x=     high_x=
low_y=     high_y=

After changing x and/or y ranges, click on "Start New Game" to put changes into effect.

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