A Java implementation of the strategic game Battleship.
https://en.wikipedia.org/wiki/Battleship_(game)
This is one of my first projects. I realised it to learn the basics of Java.
Clone and change directory:
git clone https://github.com/tassoneroberto/battleship.git
cd battleship
(OPTION 1) Compile and run:
javac -cp . battleship/BattleShip.java
java battleship/BattleShip
(OPTION 2) Make JAR file and run:
jar cfe BattleShip.jar battleship/BattleShip .
java -jar BattleShip.jar
Co-authored with: Antonio Rachele