Conway's Game of Life implemented with PyGame.
Project description
Simple pygame implementation of Conway’s Game of Life.
Screenshot
Installation
Install with pip:
pip install nanolife
Install from source:
python setup.py install
Running
Run via launch script installed with pip package:
nanolife
Run as a Python module:
python -m nanolife
Using inside of code
To import the class in to your own code:
from nanolife.LifeGame import LifeGame LifeGame().run()
Controls
There are a couple keybinds available:
q - Quit
s - Start/stop (toggle pause)
r - Randomize the grid
Source code
Contact
NanoDano <nanodano@devdungeon.com>
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
nanolife-1.0.2.tar.gz
(3.9 kB
view hashes)