Simple version of BattleShip game support one player
Download jar file: ./battleship-1.0.jar
Open in cmd the jar file location and run :
- java -cp battleship-1.0.jar Main
- 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).
- Start a new game
- Hit a ship
- Statistics
- Show board
- Quit