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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file py-GameOfLife-simplified-0.0.0.2.tar.gz.
File metadata
- Download URL: py-GameOfLife-simplified-0.0.0.2.tar.gz
- Upload date:
- Size: 5.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.9.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
001d72828f8bd89275521c5952fe403713032f823bf0e0085cdded81d1c8f2dc
|
|
| MD5 |
a3717e7ef1bb12780589a874ba2cf939
|
|
| BLAKE2b-256 |
a2d983942fe74c1865ccc23e549f3e0cf6c51d097a90c79fed53adb5f7ef1e58
|
File details
Details for the file py_GameOfLife_simplified-0.0.0.2-py3-none-any.whl.
File metadata
- Download URL: py_GameOfLife_simplified-0.0.0.2-py3-none-any.whl
- Upload date:
- Size: 6.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.9.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5fbf2c5d69b0ecbfcb312701879d0fc0bca59f9a40e34af123eb91f341d04697
|
|
| MD5 |
4ebf5ae118b1a9a1c642992de0a4c9ec
|
|
| BLAKE2b-256 |
b5e400062f68aa82b50c30bee7ca7bdc4c1252a0b52497c22da583908c57db64
|