← code.jbarker.com

groovy-tictactoe

The game Tic-Tac-Toe (Noughts & Crosses) written in Groovy.

View the Project on GitHub jbarker/groovy-tictactoe

Groovy Tic-Tac-Toe

The game Tic-Tac-Toe (Noughts & Crosses) written in Groovy.

Build Status

Highlights

Building

In your favorite shell, set your working directory to the project root and build TicTacToe with gradle:

$ gradle clean build uberjar --daemon

Running

From the project root, run TicTacToe with java:

$ java -jar build/libs/groovy-tictactoe.jar

Playing

When TicTacToe is running, follow the instructions to play a game. 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
       |       |

Future

Possible changes and additions could include:

Development

Developed with:

Release History

0.9.18 - 19 July 2015

0.9.1 – 0.9.17

0.9.0 - 14 May 2012