An implementation of Conway's game of life (cellular automata) in the terminal using textual.
Project description
textual-game-of-life
An implementation of Conway's game of life (cellular automata) in the terminal using textual.
install
git clone textual-game-of-life # ;)
pip3 install -r requirements.txt
direct usage
python3 -m src.textual_game_of_life
todo
- add toggle for starting/stopping the game.
- add a command line interface for all the options and settings.
- make cursor black when on a white cell and white when on a black cell.
- add a way to save/load the current state of the game.
- add shift_+ and shift_- to change the horizontal width of the canvas.
- add ctrl_+ and ctrl_- to change the vertical width of the canvas.
- add alt_+ and alt_- to change the size of the pixels.
- add a way to change the speed of the game.
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
Built Distribution
File details
Details for the file textual-game-of-life-0.1.0.tar.gz
.
File metadata
- Download URL: textual-game-of-life-0.1.0.tar.gz
- Upload date:
- Size: 5.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 76bb3e0929b8145a494c53d585e918e608e24fe52851a7ce076f870154d1bf3b |
|
MD5 | 66ac4725d85013dde2eca180435bc8cc |
|
BLAKE2b-256 | 99b09d18fbc0c93ddf5ffb1e81be52d2c5dfc27bc4d768e3793a59690ca918cd |
File details
Details for the file textual_game_of_life-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: textual_game_of_life-0.1.0-py3-none-any.whl
- Upload date:
- Size: 5.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 86f7ef6599bdb511dc1d50a7bfc2322b5e0e144368b4c3ad56e186423b0d9a38 |
|
MD5 | 92ac73d552b9d6bfd5c8df429c08a394 |
|
BLAKE2b-256 | dd4ba9f2fb8b49a32a797ef25b3d2e088f6ffef14d9a3704e50a82ae4e42064c |