Conway's Game of Life Terminal Eye Candy implemented in Python.
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
- Numpy
- Curses (Included in the Linux version of Python. For Windows users, install windows-curse)
pip install pconway
git clone https://github.com/terrencetec/pconway.git
cd pconway
pip install .
(Not available yet)
sudo apt-get install pconway
(Not available yet) Install from AUR:
paru -Syu pconway
or
yay -Syu pconway
$ gameoflife -c green -m 0.01
$ 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 '.'.
-b, --border Border on the screen
-s SPEED, --speed SPEED
Frame per second
-m MUTATION_RATE, --mutation-rate MUTATION_RATE
Mutation rate
Try out the package and file an issue if you find any!