Skip to main content

Conway's Game of Life implemented with PyGame.

Project description

Simple pygame implementation of Conway’s Game of Life.

Screenshot

screenshots/screenshot.png

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

Contact

NanoDano <nanodano@devdungeon.com>

Project details


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 hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page