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
Links
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.3.tar.gz
(3.9 kB
view details)
File details
Details for the file nanolife-1.0.3.tar.gz
.
File metadata
- Download URL: nanolife-1.0.3.tar.gz
- Upload date:
- Size: 3.9 kB
- Tags: Source
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 95faebd7e2bbc86ef94860fb77307dd4802e9bfee274a77543b875716d37f73a |
|
MD5 | 44d8b4dec1f676cbedd1914e2c5e0b0f |
|
BLAKE2b-256 | 2da57fb2f049c39f2240e606bf5735a78f974b30d1929d0fba148586cd02a19d |