Tic Tac Toe Kata

Posted on 12:39, March 17th, 2009 by
Peter Fitzgibbons
This week I am starting a Tic Tac Toe Kata in response to a programming exercise by a future employer. (Wave to you!)
Here are my rules for performance of the kata:
- Blog after every long session developing – discuss progress and response about the “kata” of the kata
- Track time for every session. Report will be posted at kata completion
- Use Story-driven-development. Using Cucumber. And thusly Behavior-driven-development through RSpec.
- Document api via RDoc
And here is the kata:
What we have in mind is a simple Tic-Tac-Toe program.
At the least this program should:
- Allow for a human player.
- Play against a human.
- Have some user interface, text is fine.
- Never lose. Furthermore, it should win whenever possible.
We would like you to use Ruby as the programming language. (My Pleasure!)
So, in my next posting I’ll be into project setup, prerequisites, and the first story or two.
Update 3/17/09: Add RDoc to expected deliverables.