6. Game of Life - Rules
1. Any live cell with fewer than two live
neighbours dies, as if caused by under-
population.
2. Any live cell with two or three live neighbours
lives on to the next generation.
3. Any live cell with more than three live
neighbours dies, as if by overcrowding.
4. Any dead cell with exactly three live neighbours
becomes a live cell, as if by reproduction.
8. Session #1
9.00-9.45am
• Game of Life Basics
• Navigator - Driver
9. Rules of Simple Design
1. Runs all the tests
2. Contains no duplications
3. Expresses the intent of the programmers
4. Minimizes the number of classes and
methods
10. Rules of Test Driven Development
1. You are not allowed to write any production
code unless it is to make a failing unit test
pass.
2. You are not allowed to write any more of a
unit test than is sufficient to fail; and
compilation failures are failures.
3. You are not allowed to write any more
production code than is sufficient to pass the
one failing unit test.
17. Closing Circle
• What, if anything, did you learn
today?
• What, if anything, surprised you
today?
• What, if anything, will you do
differently in the future?