Skip to content
Phumelela Mdluli edited this page Dec 15, 2023 · 1 revision

Welcome to the ConwaysGameOfLife wiki!

Dead: dino

Wikipedia says that the Game of Life (also known simply as Life -- rplife), is a cellular automaton devised by the British mathematician John Horton Conway in 1970. It is a zero-player game. Thus gameplay is determined by the initial state, or seed. Then, the game requires no further input. It can be said that your only interaction with the system is in the initial configuration and observing how the game develops/evolves.

Rules

The universe of the Game of Life is an infinite, 2D orthogonal grid of square cells. Each cell of every cell in this grid is in one of two possible states; alive or dead. You can also think, populated or unpopulated, in respect to "living", or simply on or off. If you know grids, then every cell has eight neighbours directly linked to it (touching), in one of; up, down, left, right, or one of four diagonal positions. This is known as the "Moore Neighbourhood". In the Game of Life, every cell interacts with its eight neighbours! At each point in time, the following transitions occur:

  • Any live cell with fewer than two live neighbours dies, as if by underpopulation.
  • Any live cell with two or three live neighbours lives on to the next generation.
  • Any live cell with more than three live neighbours dies, as if by overpopulation.
  • Any dead cell with exactly three live neighbours becomes a live cell, as if by reproduction.

The first generation is created by applying the above rules simultaneously to every cell in the seed, live or dead; births and deaths occur simultaneously, and the discrete moment at which this happens is sometimes called a tick. Each generation is a pure function of the preceding one. The rules continue to be applied repeatedly to create further generations. Some games are stagnant, and never change throughout their evolution or application of the game rules. These are produced by a variety of seed called still life. There are other known variations of the seed or starting grid that produce defined or known patterns/evolutions. From the Real Python website I copied a few (unclassified) and went on to learn about others either using Wikipedia, or an internet search. Hopefully, I will be able to add them to my own list.


Credit for this game goes to the guys at Real Python.

Clone this wiki locally