gof-rs

Crates.iogof-rs
lib.rsgof-rs
version0.2.4
sourcesrc
created_at2022-10-23 19:48:06.143148
updated_at2024-12-04 17:44:05.404237
descriptionGame of life in your terminal with over 500 unique patterns to choose from.
homepage
repositoryhttps://github.com/omagdy7/gof-rs
max_upload_size
id695331
size1,685,319
Omar Magdy (omagdy7)

documentation

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

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

  • Add a lot of unique patterns.

  • 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

Commit count: 53

cargo fmt