Battleship is a strategy type guessing game for two players. It is played on ruled boards on which each player's fleet of warships are marked. The locations of the fleets are concealed from the other player. Players alternate turns calling "shots" at the other player's ships, and the purpose of the game is to destroy the opposing player's fleet.
- JAVA
- The player has a choice of 3 game modes: Player vs Player, Player vs AI, AI vs AI.
- Players can choose a board size between 10 and 20.
- Each player has 5 ships of different lengths, each ship must be placed on the board.
- Each player can place their ships manually or automatically.
- Each ship must be placed horizontally or vertically across board spaces. Ships cannot touch each other or overlap.
- The player shoots by selecting the square coordinates. After a shot, the square's status updates to M if the player missed, or to H if the player hit the opponent's ship.
- The first player to destroy enemy ships wins.