148
edits
mNo edit summary  | 
				 (ad rule of the game of life with sources)  | 
				||
| Line 78: | Line 78: | ||
[[File:brading process_27.jpg|x300px]] [[File:brading process_27bis.jpg|x300px]]  | [[File:brading process_27.jpg|x300px]] [[File:brading process_27bis.jpg|x300px]]  | ||
[[File:brading process_28.jpg|x300px]] [[File:brading process_29.jpg|x300px]]  | [[File:brading process_28.jpg|x300px]] [[File:brading process_29.jpg|x300px]]  | ||
The Rules of the Game of Life  | |||
- '''Death'''. If a cell is alive it will die under the following circumstances.  | |||
Overpopulation: If the cell has four or more alive neighbors, it dies.  | |||
Loneliness: If the cell has one or fewer alive neighbors, it dies.  | |||
- '''Birth'''. If a cell is dead it will come to life if it has exactly three alive neighbors (no more, no less).  | |||
- '''Stasis'''. In all other cases, the cell state does not change. To be thorough, let’s describe those scenarios.  | |||
Staying Alive: If a cell is alive and has exactly two or three live neighbors, it stays alive.  | |||
Staying Dead: If a cell is dead and has anything other than three live neighbors, it stays dead.<ref>  | |||
''The Nature of Code'' by Daniel Shiffman  | |||
http://natureofcode.com/book/chapter-7-cellular-automata/</ref>  | |||
<references/>  | |||
edits