An open API service indexing awesome lists of open source software.

https://github.com/alvarogarcia7/kata-tictactoe-java

Kata tic tac toe, practicing baby steps
https://github.com/alvarogarcia7/kata-tictactoe-java

deliberate-practice kata tic-tac-toe tictactoe tictactoe-game

Last synced: 3 months ago
JSON representation

Kata tic tac toe, practicing baby steps

Awesome Lists containing this project

README

        

# Tic Tac Toe Kata

We've practiced this kata at the office, pairing.

We've marked the successful sprints as "Success" and failed ones as "Failure".

Some statistics:

* 6 failed ones
* 10 successful ones

# Kata description - Tic Tac Toe Kata

## Rules

* A game has nine fields in a 3x3 grid
* A player can take a field if not already taken
* A game is over when all fields in a row are taken by a player
* A game is over when all fields in a diagonal are taken by a player
* A game is over when all fields in a column are taken by a player
* A game is over when all fields are taken
* Players take turns taking fields until the game is over
* There are two players in the game (X and O)

## Credits
Inspired by Diego Lemos

# Baby Steps Constraint

## Steps

* **1** Setup a git repository
* **2** Setup a timer for 2 minutes interval when you start
* **3** Write exactly one test
* If the timer rings and the test is red then revert and start over.
* If the test is green before timer rings then commit.
* **4** Restart timer (no discussions in between timers)
* **5** Go to 3

## Credits
Inspired by [Adrian Bolboaca](http://blog.adrianbolboaca.ro/2013/01/the-history-of-taking-baby-steps/)