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 ACBeoxNlawZh on December 1st, 2022, 12:25 pm Reply

SagHbOEk

Posted by EuWqpScIf on December 1st, 2022, 12:25 pm Reply

RPxdaAif

Posted by Vitamixayh on November 30th, 2022, 4:26 pm Reply

"Julia's Garland" (fr. Guirlande de Julie)

Posted by Drywalltyu on November 30th, 2022, 3:35 pm Reply

works of art.

Posted by Flexibleyvj on November 29th, 2022, 9:19 pm Reply

Since the era of Charlemagne

Posted by Sprinklerlka on November 26th, 2022, 12:20 am Reply

Many calligraphers have acquired

Posted by Boschteb on November 25th, 2022, 9:53 am Reply

manuscripts held onto

Posted by Universalsgt on November 23rd, 2022, 7:38 am Reply

reproduced by hand, in contrast

Posted by Scanneraok on November 20th, 2022, 3:33 pm Reply

books in ancient times was papyrus

Posted by Stanmorevyt on November 13th, 2022, 3:09 am Reply

(palimpsests). In the XIII-XV centuries in

Posted by Humminbirdtch on November 10th, 2022, 7:47 am Reply

XVII century was Nicholas Jarry [fr].