Posted on Leave a comment

Game of Life – cellular automaton

John Conway's Game of Life

The Rules

Game of Life

Game of Life

The Game of Life was invented by John Conway (as you might have gathered). The game is played on a field of cells, each of which has eight neighbors (adjacent cells). A cell is either occupied (by an organism) or not. The rules for deriving a generation from the previous one are these:

John Conway

John Conway

Neighbors 

  • Death: 0,1,2 neighbors
  • Life: 3,4 neighbors
  • Death: 5,6,7,8 neighbors

Death

If an occupied cell has 0, 1, 4, 5, 6, 7, or 8 occupied neighbors, the organism dies (0, 1: of loneliness; 4 thru 8: of overcrowding).

Survival

If an occupied cell has two or three neighbors, the organism survives to the next generation.

Birth

If an unoccupied cell has three occupied neighbors, it becomes occupied.

Some DMOZ examples below 

from DMOZ.COM Link . . .

 

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.