Tower of Hanoi
Number of discs:
1
2
3
4
5
6
7
Total moves :
Minimum moves :
Time taken(sec) :
Game rules:
  • Only one disc can be moved at a time.
  • A larger disc cannot be placed on top of a smaller disc.
  • Only the top disc from each tower can be moved to another tower.
  • Click on a tower to select the top disc, then drop it onto another tower.
  • Click on the same tower to unselect the disc.
  • Move all discs to the last tower to finish the game.

No mouse to click the tower?

Press '1' to select tower 1, '2' to select tower 2, and '3' to select tower 3.
Press 'r' to restart the game.
Best played in desktop mode or full-screen mode.