Search for a tool
Game of Life

Tool to simulate and customize Conway game of life. The game of life is a cellular automaton created by John Horton Conway. A cellular automaton is a set of cells represented in a grid which can evolve through time thanks to basic rules.

Results

Game of Life -

Tag(s) : Fun/Miscellaneous, Biology, Algorithm

Share
Share
dCode and you

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!


Please, check our community Discord for help requests!


Thanks to your feedback and relevant comments, dCode has developped the best Game of Life tool, so feel free to write! Thank you !

Game of Life

Sponsored ads

The Game of Life Simulator


Loading...
(if this message do not disappear, try to refresh this page)

By default, the game of life according to Conway has the following rules : - A dead cell with exactly three living neighbors becomes alive. - A live cell with two or three living neighbors stays alive; otherwise it dies.

Tool to simulate and customize Conway game of life. The game of life is a cellular automaton created by John Horton Conway. A cellular automaton is a set of cells represented in a grid which can evolve through time thanks to basic rules.

Answers to Questions

How does Game of Life work? (Rules)

The game of life (gol) is represented on a 2D grid (theoretically of infinite size) composed of square boxes called cells which have a binary state (1 for living and 0 for dead).

The game of life is a cellular automaton based on the principle of evolution of the grid over time. At each step, called generation, the cells evolve according to their neighborhood (each cell has 8 neighboring cells).

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 may lead to an explosion of the cell population (e.g. by indicating favorable of conditions for birth) or a rapid decline (e.g. indicating several defavorable conditions for life).

Why game of life was invented?

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 or living cells evolution in an organism. The dCode simulator above allows you to test different rules.

What are common patterns in the game of life?

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 shift itself in a diagonal in 4 generations.

The spaceship patterns are shifted horizontally or vertically.

There are also patterns called guns or puffer that generate gliders or spaceships.

Example: See the reference book Cellular automata here (link) of Edgar F. Codd.

What is a Garden of Eden?

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.

Source code

dCode retains ownership of the online 'Game of Life' tool source code. Except explicit open source licence (indicated CC / Creative Commons / free), any algorithm, applet or snippet (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, translator), or any function (convert, solve, decrypt / encrypt, decipher / cipher, decode / encode, translate) written in any informatic language (PHP, Java, C#, Python, Javascript, Matlab, etc.) no data, script or API access will be for free, same for Game of Life download for offline use on PC, tablet, iPhone or Android !

Need Help ?

Please, check our community Discord for help requests!

Questions / Comments

Thanks to your feedback and relevant comments, dCode has developped the best Game of Life tool, so feel free to write! Thank you !


Source : https://www.dcode.fr/game-of-life
© 2020 dCode — The ultimate 'toolkit' to solve every games / riddles / geocaching / CTF.
Feedback