Chapter 4
Create the Grid Model
Section 1
Introduction
We've got the view and the controllers mostly complete. Now what we need is a grid model. The model is where we're going to store the state of the game. This is where we'll keep track of the live and dead cells for computing the next generation of cells. In this module, we'll get the grid model into place, so we can apply the rules of the game to the state stored in the model. Remember the rules of the Game of Life? If not, no worries! We'll review the rules, and then implement the code to compute the next generation of life using those rules.