Tic Tac Toe Kata

datePosted 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:

  1. Allow for a human player.
  2. Play against a human.
  3. Have some user interface, text is fine.
  4. 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.

categoryPosted in Uncategorized | printPrint
Related Posts:

Leave a Reply

Name: (required)
Email: (required) (will not be published)
Website:
Comment: