[ next ] [ prev ] [ contents ] XP-Cinti TDD Workshop

The Third Story

Our customer gave us the final story for the evening.

There needs to be a way of keeping score. If the following pattern appears anywhere on the board, then the player represented by "O" will get a score of 1. Only the intersections occupied by the "O" token are significant. Intersections represented by "+" may be occupied by either player or be empty.

     |   |   |   
  ---+---O---+---
     |   |   |   
  ---O---+---O---
     |   |   |   
  ---+---O---+---
     |   |   |   



[ next ] [ prev ] [ contents ] Copyright 2003 by Jim Weirich.
Some Rights Reserved