A cellular automaton devised by British mathematician John Horton Conway in 1970.
β¨ Conway's Game of Life, or simply "Life," is a cellular automaton devised by British mathematician John Horton Conway in 1970. It is a zero-player game, meaning its evolution is determined by its initial state, requiring no further input. Players interact with the game by creating an initial configuration and observing how it evolves. The game is Turing complete and can simulate a universal constructor or any other Turing machine.
π The universe of the Game of Life is an infinite, two-dimensional orthogonal grid of square cells. Each cell is in one of two possible states: ALIVE
or DEAD
. Every cell interacts with its eight neighbors, which are the cells that are horizontally, vertically, or diagonally adjacent.
- Any live cell with fewer than two live neighbors dies, as if by underpopulation.
- Any live cell with two or three live neighbors lives on to the next generation.
- Any live cell with more than three live neighbors dies, as if by overpopulation.
- Any dead cell with exactly three live neighbors 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, alive 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.
Buttons | What they do |
---|---|
Starts the animation after you've set the initial pattern | |
βΈοΈ | Pauses the animation |
β© | Increases the speed of the animation |
βͺ | Decreases the speed of the animation |
Clear |
Clears the grid on click, only if the game is not animating at that moment |
Random |
Randomly initializes the grid with initial randomness as 20% |
Change grid size |
This function allow you to change the size of grid according to your preference |
βοΈ Settings | What are they for? |
---|---|
Gridlines |
Toggles visibility of the gridlines |
Warp on Edges |
Warps the patterns across the edges - Initially set as true |
Randomness |
Allows you to set custom randomness percent for random initialization |
π¨ Themes | The Colors |
---|---|
Blue (default) | |
Red | |
Green | |
Purple | |
Dark Cyan | |
Black and White | |
Dark Neon | |
Cyberpunk | |
Sunset |
- It also allows the user to choose colors according to their preferences to create their unique Custom Theme.
- You can also choose 2 colors to create a Gradient Background.
- The Gradient Theme setting also allows users to select the slope of linear Gradient.
- The Gradient Theme also affects the color of Alive and Dead cells, so that it matches with the Gradient Background.
Stores history of patterns that user has played with, up to 5 recent patterns.
The glider is the smallest, most common, and first-discovered spaceship in Game of Life. It travels diagonally across the grid. Gliders are important because they are easily produced, can be collided with each other to form more complicated patterns, and can be used to transmit information over long distances.
The big glider was found by Dean Hickerson in December 1989 and was the first known diagonal spaceship other than the glider. Two gliders can be temporarily seen at the front of the ship; these do not stay gliders but still move like them.
The Gosper glider gun is the first known gun, and indeed the first known finite pattern with unbounded growth, found by Bill Gosper in November 1970. It consists of two queen bee shuttles stabilized by two blocks.
The pulsar is a period-3 oscillator, meaning it returns to its initial state after three generations. Itβs a symmetric pattern and one of the most recognized oscillators in the Game of Life.
This term isnβt standard in the Game of Life nomenclature but could refer to a specific type of oscillator or a similar repeating pattern that creates a visual effect resembling a circle of fire.
The quadpole is the eighth most common oscillator in Achim Flammenkamp's census, being less common than the bipole but more common than the great on-off. It is the eighth most common oscillator on Adam P. Goucher's Catagolue.
Spider is a c/5 orthogonal spaceship that was discovered by David Bell on April 14, 1997. It is the smallest known c/5 orthogonal spaceship. Its side sparks have proven to be very useful in constructing puffers and rakes.
The middleweight spaceship (commonly abbreviated to MWSS) or (rarely) medium fish is the third most common spaceship after the glider and lightweight spaceship.It was found by John Conway in 1970 and travels at c/2 orthogonally.
Boat-tie is the twentieth most common still life on Adam P. Goucher's Catagolue, being less common than shillelagh but more common than snake.It is also the twenty-seventh most common object overall on Catagolue.Two copies of boat-tie can be seen in a symmetric constellation that evolves from two traffic light predecessors.
The Pentadecathlon is a period-15 oscillator that was found in 1970 by John Conway. It is one of the most well-known patterns in the Game of Life, notable for its longevity and distinctive structure.
Explore more patterns at ConwayLife Patterns.
- π¬ Now the page supports user feedback. Which redirects you to a Feedback.html page.
- π¬ In the Feedback page, user can file a feedback for 'Complaint', 'Suggestion', 'Question',Β etc.*
Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.
This project is licensed under the GPL-3.0 License.
Thank you for contributing to our project! Your help is greatly appreciated in making gameoflife even better. π