Game Of Life
Play the Game of Life and explore how a set of simple rules governing cell interactions can lead to the spontaneous emergence
of complex and fascinating structures, patterns, and behaviors over time.
The rules are as follows:
1. A live cell with less than two live neighbors dies (underpopulation).
2. A live cell with two or three live neighbors stays alive (survival).
3. A live cell with more than three live neighbors dies (overpopulation).
4. A dead cell with exactly three live neighbors becomes alive (reproduction).
To control the simulation, you can:
→ Click on any cell to toggle its state (dead/alive)
→ Adjust the size of the grid
→ Control the speed of the simulation
→ Place predefined patterns on the grid by selecting a mask
→ Set a random grid