Tower of Hanoi
Game Code by Glenn G. Vergara
courtesy of Dynamic Drive.

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. Legend says that at the beginning of time the priests in the temple were given a stack of 64 gold disks, each one a little smaller than the one beneath it. Their assignment was to transfer the 64 disks from one of the three poles to another, with one important proviso - a large disk could never be placed on top of a smaller one. The priests worked very efficiently, day and night. When they finished their work, the myth said, the temple would crumble into dust and the world would vanish.

The number of separate transfers of single disks the priests must make to transfer the tower is 2 to the 64th minus 1, or 18,446,744,073,709,551,615 moves! If the priests worked day and night, making one move every second it would take slightly more than 580 billion years to accomplish the job!


Use your mouse to move the disks.
Try to move all the disks from TOWER 1 to TOWER 3.
You may only move one disk at a time.
You must never allow a bigger disk to go on top of a smaller disk.

Play Tower of Hanoi

SweetDreams Digital Home
GalleriesTutorials Free StuffFun Stuff
EcardsLinksMailing ListAwards
The Artist ContactSponsor the SiteGuestbook
SweetDreams Digital Store


Tell a Friend About

SweetDreams Digital!


This page was last updated on Saturday, June 14, 2008.

Site design by SweetDreams Digital.
All content on this site copyright © SweetDreams Digital, 2001-2008.
All rights reserved.
No content or images may be used without my express written consent.

Visitors since April 10, 2007