Tool to simulate and customize Conway game of life, a cellular automaton: a set of cells on a grid which can evolve through time thanks to basic rules.
Game of Life - dCode
Tag(s) : Fun/Miscellaneous, Biology, Algorithm
dCode is free and its tools are a valuable help in games, maths, geocaching, puzzles and problems to solve every day!
A suggestion ? a feedback ? a bug ? an idea ? Write to dCode!
The game of life (short form: gol) is a cellular automaton evolving on a grid (of theoretically infinite size) made up of boxes squares called cells which have a binary state (1 for alive and 0 for dead). The cells evolve over time according to their neighborhood (each cell has 8 neighboring cells), which modifies the grid at each evolution step (called generation).
By default, if a living cell is too isolated (0 or 1 neighbor) then it dies the next evolution (death by under-population). If it is reasonably surrounded (2 or 3 neighbors) then it remains alive, but what if it is surrounded by too many cells (4 or more neighbors) it dies to the next generation (death by over-population).
A cell can also become a live cell if a dead cell is surrounded by three living cells then it becomes alive (she was born) in the next evolution (birth by reproduction).
All configurations are possible but different rules/variations may lead to an explosion of the cell population (e.g. by indicating favorable conditions for emergence of birth) or a rapid decline (e.g. indicating several unfavorable conditions for life).
The game of life is an invention of John Horton Conway in 1970. Conway, professor of mathematics, in response to a problem of John von Neumann who was looking for a machine capable of self-replication, built a mathematical model based on an algorithm with basic rules that became the game of life.
Today, cellular automata as the game of life are used in computer simulations such as evolution of population in a given place or evolution of living cells in an organism. The dCode simulator above allows you to test different rules.
There are stable patterns (which do not evolve), periodic patterns (called oscillators or blinkers) that repeat in a loop every X generations.
The most famous pattern is the glider, this is a pattern that shifts itself in a diagonal in 4 generations.
The spaceship patterns are shifted horizontally or vertically.
There are also patterns called guns or puffers or smokers or generators that generate gliders or spaceships.
Example: See the reference book Cellular automata here (affiliate link) of Edgar F. Codd.
In the game of life, a Garden of Eden is a configuration such that there is no previous configuration possible. No pattern can generate in its next generation a Garden of Eden.
It is not possible to go back, in fact, an infinite number of combinations lead to the same given next position.
The game of life is a cellular automaton, a field of study in computer science and mathematics.
Cellular automata can be described as mathematical algorithms with several parameters.
Mathematical models make it possible to model discrete dynamic systems from simple rules that can generate complex shapes.
The Game of Life has been studied for its ability to generate pseudo-random numbers.
The game of life has been created by John Horton Conway in 1970.
dCode retains ownership of the "Game of Life" source code. Except explicit open source licence (indicated Creative Commons / free), the "Game of Life" algorithm, the applet or snippet (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, breaker, translator), or the "Game of Life" functions (calculate, convert, solve, decrypt / encrypt, decipher / cipher, decode / encode, translate) written in any informatic language (Python, Java, PHP, C#, Javascript, Matlab, etc.) and all data download, script, or API access for "Game of Life" are not public, same for offline use on PC, mobile, tablet, iPhone or Android app!
Reminder : dCode is free to use.
The copy-paste of the page "Game of Life" or any of its results, is allowed (even for commercial purposes) as long as you credit dCode!
Exporting results as a .csv or .txt file is free by clicking on the export icon
Cite as source (bibliography):
Game of Life on dCode.fr [online website], retrieved on 2024-11-13,