Instructions
Conway's Game of Life is a simulation governed by 4 simple rules based on a cell's relationship to its 8 neighbors:
- If a cell is alive, and 2 or 3 of its neighbours are also alive, the cell remains alive.
- If a cell is alive and it has more than 3 alive neighbours, it dies of overcrowding.
- If a cell is alive and it has fewer than 2 alive neighbours, it dies of loneliness.
- If a cell is dead and it has exactly 3 neighbours it becomes alive again.
On a desktop, you can interact with the canvas environment in these ways:
- Pause/Restart the simulation - Hit Spacebar (The canvas will turn pink when paused.)
- Reload a random canvas of cells: Hit 'r' or 'R'
- Clear the canvas: Hit 'c' or 'C'
- If the simulation is paused, click on an empty cell to place a living cell; click on a living cell to kill it.
This stage is supported only by desktop environments, but you can still view the process on a mobile device -- you just can't interact with it.
Last update: 10/29/19