The Game of Life is a cellular automata model invented by John Conway. Each cell in the grid represents an organism in a simple ecosystem.
The rules for survival and procreation are simple: A living organism will die if it has fewer than 2 or more 3 living neighbors. An organism is born in a cell when it has exactly 3 living neighbors.
Setting the initial state of the grid: Click on individual cells in the grid to toggle their values (from dead/white to alive/black).
You can also randomize or clear the grid contents: Running the simulation: You can click to see one generation at a time, or start the continuous evolution process:
Credit -