Lets say we’ve got a Grid with with 30 columns and 30 rows.
Rules for game of life in short:
- one cell has eight neighbor cells
- a cell gets alive as soon as a cell has three living neighbor cells
- a cell just survives if it has exactly two or three living neighbor cells
But how to initialize a grid with a determined size? Is there a rule how to exactly initialize some cells?
Mostly it is initialized by the user (only user action required). Ofcourse you can also choose to initialize it yourself.
From Wikipedia: