Skip to content

Latest commit

 

History

History
19 lines (13 loc) · 977 Bytes

README.md

File metadata and controls

19 lines (13 loc) · 977 Bytes

Battleship🚢

Battleship user vs. computer game written in C# with Visual Studio 2019

Workflow_GIF

Battleship is a guessing game for two players. It is played on ruled grids on which the players' fleets of ships are marked. The locations of the fleet are hidden from the other player. Players alternate turns to fire shots at the other player's ships. The player to destroy the opposing player's fleet first wins!

Features

  • User can choose the size of the grid (6-10)
  • Ammo depends on the size of the grid (ranges from 10-30)
  • There are 5 different sizes of ships (1-5)
  • The size of ship hit is equal to the points a player earns
  • The game ends when a player is out of ammo and the other player wins
  • User enters the firing coordinates
  • The computer generates firing coordinates randomly
  • User is warned when they enter the same coordinates again