The players have to insert their names. Then They have to choose a position for the their table. Then the game start. The game will choose a point to shoot and the system will respond if he touched the opposent ship or no. and then the hand will be given to the second player to chose a point to attack, until on of the players touch all the points of his opponent ship, this player will be the winner.
Battleship is a two-player game where each player places six ships at secret locations on a coordinate grid, then take turns guessing at the location of the other player's ships.
Classes:
- Ship
- Board (Grid)
- Game