A simple implementation of Conway's Game of Life
Project description
GameDriver
A simple implementation of Conway's Game of Life.
Pythonic interface for easy imports to other projects.
Check `GameDriver.py` for reference
INSTALLATION:
> pip install py-GameOfLife-simplified
USAGE:
python3 GameOfLife [options]
Options:
-h, --help : Show this help message and exit.
-v, --version : Show version and exit.
board_size=<int> : Set board size.
show_generation_changes=<bool> : Show changes that are going to take
place in upcoming generation.
clear_terminal=<bool> : Clear terminal before each generation.
show_board_with_icons=<bool> : Show board with icons.
stepper_mode=<bool> : Step through generations.
next_gen_interval=<float> : Display new generation with given
seconds of interval.
# In stepper mode, use `Enter` key to move to next generation.
# Use `CTRL+C` key-combination to exit in non stepper mode to exit.
# Use 'Q' key in stepper mode to exit.
Example:
python3 -m GameOfLife board_size=50 show_generation_changes=False clear_terminal=True show_board_with_icons=true stepper_mode=False next_gen_interval=0.5
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
Built Distribution
Close
Hashes for py-GameOfLife-simplified-0.0.0.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 001d72828f8bd89275521c5952fe403713032f823bf0e0085cdded81d1c8f2dc |
|
MD5 | a3717e7ef1bb12780589a874ba2cf939 |
|
BLAKE2b-256 | a2d983942fe74c1865ccc23e549f3e0cf6c51d097a90c79fed53adb5f7ef1e58 |
Close
Hashes for py_GameOfLife_simplified-0.0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5fbf2c5d69b0ecbfcb312701879d0fc0bca59f9a40e34af123eb91f341d04697 |
|
MD5 | 4ebf5ae118b1a9a1c642992de0a4c9ec |
|
BLAKE2b-256 | b5e400062f68aa82b50c30bee7ca7bdc4c1252a0b52497c22da583908c57db64 |