- Java 17 (developed with OpenJDK 17.0.9)
- Maven
- JUnit
- macOS 14.5
There are 3 ways to run the game from the command line:
-
Run precompiled jar (Java JDK must be installed on your machine)
java -jar target/tictactoe-1.0.jar
-
Run using Docker
docker build -t tictactoe .
docker run -i -t tictactoe
-
Build and run the Maven project
- Check if Maven is installed
mvn -version
- cd into project folder
- Run tests
mvn test
- Build jar
mvn package
- Execute jar
java -jar target/tictactoe-1.0.jar
- Check if Maven is installed
-
Play Tic Tac Toe!