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.2.tar.gz (9.2 kB view details)

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for pconway-1.0.2.tar.gz
Algorithm Hash digest
SHA256 74bce64da0a78b2657f8580c44a52e047e3ccae262d67166ba872ca5e9854754
MD5 da195780354c14bb7c9f8021232f2a23
BLAKE2b-256 4ccfd7607152e0c319c8142618ccb4200dcf91833976450fbec72c4e6cf47844

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