- cross-posted to:
- linux@programming.dev
- linux@lemmy.world
- cross-posted to:
- linux@programming.dev
- linux@lemmy.world
https://gitlab.com/christosangel/hanoi
Hanoi is a simple terminal version of the known classical game Tower of Hanoi, written in Bash.
During the game, the user can move left and right, pick disks and drop them in other stacks.
The aim is to move all the disks from the ORIGIN pile to the DESTINATION pile, in as little moves as possible



Impressive 🙂
Unsolicited Rust rewrite in 5…4…3…🤭
Rust away!🤭 Actually it sounds reasonable, I guess in Rust 2D arrays are easier to work with than in Bash.
Why are you sharing your program with miniserve?
I’m not sure to understand that question ?
I don’t understand what you are asking, please elaborate.
No worries. My bad.
miniserve, a popular command line program written in Rust to serve static files, also counts down (from three though) before launching the server, just like he counts down from five before someone rewrites your Hanoi Tower game in Rust.
http://crates.io/crates/miniserve