A simple TicTacToe game demonstrating BDD techniques to write "executable specification", design components and implement functionalities
Kotlin Java Shell
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src
.gitignore
.travis.yml
LICENSE
README.md
pom.xml
update-gh-pages.sh

README.md

Tic-Tac-Toe Build Status Apache 2.0 License

A simple Tic-Tac-Toe console game implementation demonstrating design and TDD techniques.

  • An Erlang version is available here.

The project specification is available here, generated from the source code of the test classes in the acceptance package, and automatically updated when pushing code into master.

How to Play It

To mark a position in the grid, imagine a telephone dial:

1 | 2 | 3
---+---+---
4 | 5 | 6
---+---+---
7 | 8 | 9

Running the Application Locally

Build with:

$mvn clean install

Run with ConsoleGameRunner class.

BOT Mode

To play TicTacToe in Bot Mode, pass botmode as command-line argument.