![Build Status] (https://travis-ci.org/Skvizurnar/TicTacToe.svg?branch=master)
The game TicTacToe written in Java.
In your favorite shell, set your working directory to the project root and build TicTacToe with gradle:
./gradlew build
From the project root, run TicTacToe with java:
$ java -jar build/libs/TicTacToe.jar
TicTacToe will prompt you for input to configure the game and to play a move on the game board.
To play a move, enter a number that corresponds to the board spaces:
| |
0 | 1 | 2
| |
-----------------------
| |
3 | 4 | 5
| |
-----------------------
| |
6 | 7 | 8
| |
The player who succeeds in placing three respective marks in a horizontal, vertical, or diagonal row wins the game.
Developed with: