Game of life, also known as Life, is a cellular automaton devised by Mathematician John Conway. Every cell is marked as either dead or alive. The game only has 3 rules:
- Any live cell with two or three live neighbours survives.
- Any dead cell with three live neighbours becomes a live cell.
- All other live cells die in the next generation. Similarly, all other dead cells stay dead.
- Python 3
- Pygame
- Clone GitHub repository
- Install Pygame:
pip install pygame
- Run:
main.py