in reply to Is this a good way to implement a Battleship game?
I should also add that using gt to compare numbers will not do what you probably intended because 3 gt 20 is true.