/toh

visualizer

Primary LanguageC++MIT LicenseMIT

toh

visual solution of tower of hanoi

how to run

  1. clone the repository.
    git clone https://github.com/mayurdahibhate/toh
  2. cd into the repo.
    cd toh
  3. Compile with make.
    make toh
  4. Run toh <n>, where n is the number of disks you want in tower of hanoi puzzle. By default, it is 3.
    toh 5