/tower-of-hanoi-solver

Animates the solution for tower of hanoi

Primary LanguageRust

Tower of Hanoi solver

Animates the solution for tower of hanoi for any number of disks.

Gettings started

on arch linux just run

$ sudo pacman -S rust

$ cargo build --release

Usage

It only takes 1 argument and that is how many disks to solve for, the default value is 5.

for example:

$ cargo run --release 3

Press enter to view the next step in the animation.