Conway's Life in Python
ConwayLife is a trivial implementation. HashLife uses hash mapping to update patterns which have been encountered before.
Requirements:
- Python 3.8+
- Numpy
- Tkinter
Command Line Usage:
Life:
- python ConwayLife.py
Hash Life:
- python HashLife.py
Ingame Keybindings:
- p - Pause simulation
- c - Clear grid of all live cells
- r - Fill grid with random states of dead and alive
- q - Quit the simulation
- Up Arrow - Increase simulation speed
- Down Arrow - Decrease simulation speed