#game-of-life #pattern #terminal #unique #choose #generation #cli

app gof-rs

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

6 releases

0.2.4 Dec 4, 2024
0.2.3 Oct 27, 2022
0.1.0 Oct 23, 2022

#28 in Games

Download history 18/week @ 2024-09-23 157/week @ 2024-12-02 45/week @ 2024-12-09

202 downloads per month

MIT license

56KB
366 lines

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

Dependencies

~7–16MB
~217K SLoC