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
Metadata
Release files for py-GameOfLife-simplified 0.0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| py-GameOfLife-simplified-0.0.0.2.tar.gz | 5.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| py_GameOfLife_simplified-0.0.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 11.7 kB
Release files / py-GameOfLife-simplified-0.0.0.2.tar.gz
| Download URL | py-GameOfLife-simplified-0.0.0.2.tar.gz |
|---|---|
| Size | 5.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
001d72828f8bd89275521c5952fe403713032f823bf0e0085cdded81d1c8f2dc
|
|
BLAKE2b-256 checksum How to use checksums |
a2d983942fe74c1865ccc23e549f3e0cf6c51d097a90c79fed53adb5f7ef1e58
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.9.12
|
Release files / py_GameOfLife_simplified-0.0.0.2-py3-none-any.whl
| Download URL | py_GameOfLife_simplified-0.0.0.2-py3-none-any.whl |
|---|---|
| Size | 6.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5fbf2c5d69b0ecbfcb312701879d0fc0bca59f9a40e34af123eb91f341d04697
|
|
BLAKE2b-256 checksum How to use checksums |
b5e400062f68aa82b50c30bee7ca7bdc4c1252a0b52497c22da583908c57db64
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.9.12
|