Skip to content

drave23/BattleshipGame

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Battleship Game

Simple version of BattleShip game support one player

Instructions:

Download jar file: ./battleship-1.0.jar

Open in cmd the jar file location and run :

  • java -cp battleship-1.0.jar Main

Game steps:

  • Insert board size and place your ships in this format: number,number. for example: 3,3
  • Insert 'H' for horizontal and 'V' for vertical.
  • Insert coordinate in this format: number,number. for example: 3,3 (the coordinate represents the top left ship corner).

Game menu:

  1. Start a new game
  2. Hit a ship
  3. Statistics
  4. Show board
  5. Quit

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages