Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/thomascrha/textual-game-of-life
A implementation of Conway's game of life (cellular automata) in the terminal using textual.
https://github.com/thomascrha/textual-game-of-life
Last synced: 3 months ago
JSON representation
A implementation of Conway's game of life (cellular automata) in the terminal using textual.
- Host: GitHub
- URL: https://github.com/thomascrha/textual-game-of-life
- Owner: thomascrha
- License: mit
- Created: 2023-09-02T13:33:30.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-10-17T01:05:51.000Z (over 1 year ago)
- Last Synced: 2024-05-14T00:30:06.486Z (9 months ago)
- Language: Python
- Size: 1.55 MB
- Stars: 6
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-textualize-projects - Conways Game of Life - A implementation of Conway's game of life (cellular automata) in the terminal using textual. (Community / Third Party Applications)
README
# textual-game-of-life
An implementation of Conway's game of life (cellular automata) in the terminal using textual.
[textual-game-of-life](https://github.com/thomascrha/textual-game-of-life/assets/5226462/66dd4153-d286-4680-ac73-8fd63e60c00e)
## installation
```
pip install textual-game-of-life
```## usage
```
textual-game-of-life
```## todo
- [ ] make brush draggable.
- [ ] add feature to make save file anything i.e. file dialog
- [ ] add a way to change the brush size.
- [ ] add a command line interface for all the options and settings.
- [x] make cursor black when on a white cell and white when on a black cell.
- [x] make resize canvas not delete existing data.
- [x] add toggle for starting/stopping the game.
- [x] add about and help dialogs.
- [x] add a way to save/load the current state of the game.
- [x] add left and right to change the horizontal width of the canvas.
- [x] add up and down to change the vertical width of the canvas.
- [x] add a way to change the speed of the game.