Simple pygame implementation of Conway's Game of Life.
Install with pip:
pip install nanolife
Install from source:
python setup.py install
Run via launch script installed with pip package:
nanolife
Run as a Python module:
python -m nanolife
To import the class in to your own code:
from nanolife.LifeGame import LifeGame LifeGame().run()
There are a couple keybinds available:
- q - Quit
- s - Start/stop (toggle pause)
- r - Randomize the grid
NanoDano <nanodano@devdungeon.com>