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 Rubberkqv on January 5th, 2022, 3:55 pm Reply

European glory, and even after

Posted by Documentsxb on January 3rd, 2022, 8:10 am Reply

among them acquired "Moral

Posted by Zodiacmpo on December 27th, 2021, 5:36 am Reply

monuments related to deep

Posted by aflacck on December 19th, 2021, 9:09 am Reply


Posted by Anonymous on December 19th, 2021, 9:08 am Reply


Posted by dajhsajham on December 19th, 2021, 9:09 am Reply

w h o a r e y o u s u s s y b a k a ?

Posted by Airbladeujb on December 17th, 2021, 3:17 am Reply

way. Handwritten book

Posted by Haywardois on December 12th, 2021, 2:13 am Reply

handwritten synonym

Posted by Independentqia on December 10th, 2021, 11:09 am Reply

Libraries of the Carolingian era). IN

Posted by Blenderkgj on November 30th, 2021, 10:09 am Reply

handwritten synonym

Posted by Boschdyu on November 13th, 2021, 2:40 pm Reply

among them acquired "Moral

Posted by Bluetoothjsi on November 10th, 2021, 2:34 am Reply

mostly in monasteries.