omagdy7 / gof-rs

Game of life rendered in your terminal with over 500+ unique patterns to choose from.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Game of life rendered in your terminal with over 500+ unique patterns to choose from.

License:MIT License


Languages

Language:Rust 83.1%Language:Python 14.1%Language:Shell 2.8%