Conway's Game of Life

Written 09:04 am 7/4/2012 Modifed 06:57 pm 7/18/2012

Conway's Game of Life is a very basic artificial life simulator. It arranges a grid of dead or alive cells, and for each generation, applies a set of rules to determine if the cell will be dead or alive.

The rules are as follows:

  1. If the cell is alive and has more than three neighbors, it dies from overcrowding.
  2. If the cell is alive and has less than two neighbors, it dies from loneliness.
  3. If the cell is dead, but has three living neighbors, it becomes alive.
  4. All other cells retain their state.

This specific implementation treats the board as a toroid. That means that the board can be thought of as extending from the bottom to the top, and from left to the right (and vice versa)- think pacman.

I have the board colorized so that any dead cells with three neighbors are tinted light blue, any alive cells with two or three neighbors are blue, any other alive cells are dark gray, and any other dead cells are pure white. The darkness of the border reflects how many neighbors the cell has.

To change the cell state, click on it.

Posted by Fendermcb on September 30th, 2022, 12:35 am Reply

Western Europe also formed

Posted by Avalancheuaz on September 23rd, 2022, 3:08 pm Reply

the spread of parchment.

Posted by Plasticnwa on September 20th, 2022, 3:25 pm Reply

number of surviving European

Posted by Seriesbio on September 19th, 2022, 12:49 pm Reply

books in ancient times was papyrus

Posted by Generationxye on September 18th, 2022, 5:56 pm Reply

Manuscript is a collective name for texts

Posted by CHIRPfhx on September 17th, 2022, 4:40 pm Reply

handwritten synonym

Posted by Securityybm on September 16th, 2022, 7:20 pm Reply

manuscripts underwent in the Middle

Posted by Fendertwg on September 15th, 2022, 6:57 pm Reply

Manuscript is a collective name for texts

Posted by Artisangwm on September 14th, 2022, 8:11 pm Reply

for Countess Louise of Savoy

Posted by uLtxYrigESJkZsj on September 14th, 2022, 10:37 am Reply

qtOYgoGpjDcAaM

Posted by TehDyXHvfSNcMUso on September 14th, 2022, 10:37 am Reply

ldLvEqFbIVO