Gameplay - 102104276/swe-sem2-battleship-group4 GitHub Wiki

  • Players will initially place their ships on the board (which is a 12x12 grid of tiles)
  • Players then take turns selecting tiles on their opponent's board to attack.
  • Markers are placed on the player's board where hits and misses have been recorded.
  • A player cannot attack a tile that they have already attacked.
  • Ships are destroyed when each tile that ship occupies is hit.
  • A player loses when all of their ships are destroyed.
  • Matches have a time limit.
  • A user forfeits their turn if they take too long.
  • As an additional feature, players may be able to mark points on the board as a reminder to themselves.