/tower-of-hanoi-simulation

🗼💿Tower of Hanoi solve using Animation of java Graphics

Primary LanguageJava

Multiepg tower of hanoi problem simulation

Screenshot

input

  1. number or pegs
  2. number of discs

output

Animated simulation of discs getting sorted out

Running instructions:

  1. cd src
  2. javac Flicker.java
  3. java Flicker
  4. now input the number of pegs and discs and enter
  5. enjoy the simultion