Do you remember this game?
It’s the Tower of Hanoi.

The objective of the puzzle is to move the entire stack to another rod, obeying the following rules:
- Only one disk may be moved at a time.
- Each move consists of taking the upper disk from one of the rods and sliding it onto another rod, on top of the other disks that may already be present on that rod.
- No disk may be placed on top of a smaller disk.
Bellow is my solution for the game.
Just press any key on the applet to observe the recyrsive disk movements. And of course there is the source attached so you can have a look in the solution too



0 Comments until now
Add your Comment!