This applet illustrates the Game of life, a cellular automaton discovered by the mathematician John Conway. The Life field is a grid of square cells, each of which can be either "alive" (coloured in) or "dead" (black) at any given time. The fate of each cell in the next generation is dependent on how many of its eight immediate neighbours are alive in the current generation.
The rules of Life are extremely simple and can be summed up as follows:
1. cells that have exactly 3 living neighbours at one generation will be "alive" in the next.
2. cells that have exactly 2 living neighbours at one generation will stay as they are in the next.
3. cells with any other number of living neighbours at one instant will become "dead" the next generation.