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
- Host: GitHub
- URL: https://github.com/alvarogarcia7/kata-tictactoe-java
- Owner: alvarogarcia7
- Created: 2018-03-15T14:39:17.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2018-03-16T09:36:54.000Z (about 7 years ago)
- Last Synced: 2025-01-10T22:49:43.849Z (5 months ago)
- Topics: deliberate-practice, kata, tic-tac-toe, tictactoe, tictactoe-game
- Language: Java
- Size: 43 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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/)