4. Gameplay - Adam101112595/BattleShip GitHub Wiki
Gameplay
Set-up Phase
The game begins with two players setting up their 10x10 board with 5 differently sized battle ships fitted to the grid. These ships cannot be placed diagonally and must be place vertically or horizontally.
- Carrier: 5
- Battleship: 4
- Cruiser: 3
- Submarine: 3
- Destroyer: 2
Valid Placement

Invalid Placement

Bombardment Phase
Fire
Once both players have confirmed their ship placement they begin the bombardment phase. Players take it in turns to "fire" at the other players board. These shots must be with in the 10x10 board. These shots can be either a hit or a miss. A hit is a hit when a player fires on the same coordinate that the other player has their ship. after a player has fired the turn is passed to the other player regardless of whether they hit or not. If a ship is sunk there will be feedback announcing that that ship has been sunk
Victory Conditions
A ship is destroyed when all spaces they occupy have been fired upon. A game is over when all ships of one player have been destroyed.