Skip to content

keerthingit/Battleship

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 

Repository files navigation

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

About

Fun user vs. computer console application of battleship

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages