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
Links
Contact
NanoDano <nanodano@devdungeon.com>
Metadata
Release files for nanolife 1.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| nanolife-1.0.3.tar.gz | 3.9 kB | Details |
Release files / nanolife-1.0.3.tar.gz
| Download URL | nanolife-1.0.3.tar.gz |
|---|---|
| Size | 3.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
95faebd7e2bbc86ef94860fb77307dd4802e9bfee274a77543b875716d37f73a
|
|
BLAKE2b-256 checksum How to use checksums |
2da57fb2f049c39f2240e606bf5735a78f974b30d1929d0fba148586cd02a19d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/39.1.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.7
|