Command line TicTacToe game against computer
Explore the docs »
The game was done during my first year in school for the basics of programming course, which consisted of Java. It has a simple AI that will place a random marker after the player. It is possible to adjust the size of the gamefield and how many marks in a row are required.
To get a local copy up and running follow these simple steps.
- Java
https://www.java.com/en/download/
- Clone the repo
git clone https://github.com/Rhaxis/TicTacToe.git
- Compile
javac src/TicTacToeGame.java
- Run
java -cp src TicTacToeGame
After running the game the player will get instructions on how to set the size of the gamefield and the marks in a row to win. Input is given on the command line with just numbers and submit via return. To close down the game simply press ctrl + c or close the command line interface.
Ville Ekholm - [email protected]
Project Link: https://github.com/Rhaxis/TicTacToe