Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/omagdy7/gof-rs
Game of life rendered in your terminal with over 500+ unique patterns to choose from.
https://github.com/omagdy7/gof-rs
gameoflife rust terminal tui
Last synced: about 2 months ago
JSON representation
Game of life rendered in your terminal with over 500+ unique patterns to choose from.
- Host: GitHub
- URL: https://github.com/omagdy7/gof-rs
- Owner: omagdy7
- License: mit
- Created: 2022-09-05T12:36:54.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2023-01-08T11:57:15.000Z (over 1 year ago)
- Last Synced: 2023-12-19T18:40:32.410Z (6 months ago)
- Topics: gameoflife, rust, terminal, tui
- Language: Rust
- Homepage:
- Size: 9.62 MB
- Stars: 24
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: License.txt
Lists
- cli-apps - gof-rs - Game of life rendered in your terminal with over 500+ unique patterns to choose from. (<a name="science"></a>Science)
- awesome-cli-apps - gof-rs - Game of life rendered in your terminal with over 500+ unique patterns to choose from. (<a name="science"></a>Science)
README
# Controls
* a: play animation
* n: next generation
* s: stop
* j or down arrow: go down next pattern (note: you have to stop the animation to browse the patterns)
* k or up arrow: go up next pattern# Preview
![preview](./gifs/preview.gif)# How to run
```
git clone https://github.com/omagdy7/gof-rs
cd gof-rs
cargo run --release
```
# Disclaimer
- Your terminal has to support emojis(for example: kitty, gnome terminal)
- Your terminal font has to be using a flavour of nerd font(for example: JetBrains Mono Nerd font)# Install
```
cargo install gof-rs
```# TODOs
- [x] Add a lot of unique patterns.
- [x] Add full screen mode without the left bar.
- [ ] Add current generation number.
- [ ] Make the UI Responsive when terminal is resized
- [ ] Make the animation speed adjustable
- [ ] Make the animation repeatable if all generation dies out