Skip to main content

Conway's Game of Life Terminal Eye Candy implemented in Python.

Project description

Logo

Conway’s Game of Life Terminal Eye Candy implemented in Python.

Website Release Read the Docs License travis-ci codecov pypi

features

  • Play Conway’s Game of Life on your terminal.

  • Added mutation feature so the game never terminates (which makes it a terminal eye candy!).

Documentation: https://pconway.readthedocs.io

Repository: https://github.com/terrencetec/pconway

Getting Started

Dependencies

Required

  • Numpy

  • Curses (Included in the Linux version of Python. For Windows users, install windows-curse)

Installation

From PyPI

pip install pconway

From source

git clone https://github.com/terrencetec/pconway.git
cd pconway
pip install .

Debian based

(Not available yet)

sudo apt-get install pconway

Arch-based

(Not available yet) Install from AUR:

paru -Syu pconway

or

yay -Syu pconway

Usage

Command

$ gameoflife

screenshot default

Help message

$ gameoflife -h
usage: gameoflife [-h]
                  [-c {black,blue,cyan,green,magenta,red,white,yellow}]
                  [-C CHAR] [-b] [-s SPEED] [-m MUTATION_RATE]

Play Conway\'s game of life

optional arguments:
  -h, --help            show this help message and exit
  -c {black,blue,cyan,green,magenta,red,white,yellow}, --color {black,blue,cyan,green,magenta,red,white,yellow}
                        Foreground color. Defaults \'white\'
  -C CHAR, --char CHAR  Character representing live cells.
                        Defaults \'o\'.
  -b, --border          Border on the screen
  -s SPEED, --speed SPEED
                        Frame per second
  -m MUTATION_RATE, --mutation-rate MUTATION_RATE
                        Mutation rate

How to Contribute

Try out the package and file an issue if you find any!

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

pconway-1.0.3.tar.gz (9.6 kB view details)

Uploaded Source

File details

Details for the file pconway-1.0.3.tar.gz.

File metadata

  • Download URL: pconway-1.0.3.tar.gz
  • Upload date:
  • Size: 9.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.1.0 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.8.7

File hashes

Hashes for pconway-1.0.3.tar.gz
Algorithm Hash digest
SHA256 042b492ec4fc4691b1ca85b8ba1d1f1575874d9cab2915386245ec3375635dde
MD5 511e0b372811a3fe886b6df6e593f774
BLAKE2b-256 8b4fb1a9cdf7731fbc09bb93eef170170795da10a1b49b430fbfcfe9018389a5

See more details on using hashes here.

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