Conway's Game of Life
Generation counter: 0
Click on a cell to give it life, click it again to mark it dead. Click "Start" button to start the evolution simulation.
"Pause" the evolution at any point, make changes and click "start" to resume simulation from that point.
Change the "Generation step interval" value to speedup or slowdown the lifetime of each generation.
"Reset" to go back to a blank slate.
Rules of the simulation
- 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.
Read more on Wikipedia or watch this video by Dylan Beattie at around 4:30mins timestamp.
Project source code: github.com/abhn/Game-of-Life/, authored by Abhishek Nagekar.