#game-of-life #generation #terminal #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

#2 in #game-of-life

Download history 3/week @ 2024-11-27 175/week @ 2024-12-04 24/week @ 2024-12-11 9/week @ 2025-01-01

334 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–17MB
~240K SLoC