Tower of Hanoi
Description: The Tower of Hanoi (also referred to as the Tower of Brahma) was invented by the French mathematician Edouard Lucas in 1883. He was inspired by a legend that tells of a Hindu temple where the pyramid puzzle was used for the mental discipline of young priests. [ More about the legend here]
The objective of the game is to move a stack of disks from the left-most pole to the right-most in the least amount of moves, the catch being a smaller disk must always be stacked on top of a larger, and never the other way around. Depending on the number of disks, this can become very challenging. Interesting features of this script are:
- Powerful drag-and-drop interface.
- Completely script driven- no images used.
- Auto "solve game" ability.
This script works in IE5+, NS6+, and Mozilla 1.0.
Demo: Click here to view script.
To retrieve this script, simply save the page towerhanoi.htm (right click link, and select "Save As"), or copy source manually from the Developer's view.