A simple game of Battleship, written in Java.
This project requires a Java JDK 8 or higher. To prepare to work with it, pick one of these options:
Run battleship with Gradle
./gradlew run
Execute tests with Gradle
./gradlew test
If you don't want to install anything Java-related on your system, you can run the game inside Docker instead.
docker run -it -v ${PWD}:/battleship -w /battleship java
./gradlew run
./gradlew test