NUDOOT

Logic GAME

Play Tower of Hanoi

Move the tower while keeping smaller disks on top. Play free in your browser—no download required.

Loading game…

About Tower of Hanoi

Tower of Hanoi is a disk-moving puzzle with three rods. Move the full tower from the leftmost rod to the rightmost rod while keeping smaller disks above larger ones. Choose a tower of 3, 4, 5 or 7 disks.

There is no fixed completion time. Choose a disk count and solve at your own pace.

How to play Tower of Hanoi

  1. Choose a disk count, then select the top disk on a rod.
  2. Select a destination rod that is empty or has a larger top disk. Only one disk moves at a time.
  3. Build the complete tower on the rightmost rod to finish and see your time and move count.

Scoring and results

Your result shows elapsed time and moves for the selected disk count. Compare times only with your own solves of the same size, and use move count as a separate planning goal. The minimum is 2 to the power of the disk count, minus 1: 7, 15, 31 or 127 moves for 3, 4, 5 or 7 disks. Faster time and fewer moves describe different aspects of a solve.

Strategies

Frequently asked questions

Can I undo a legal move?

Yes. Undo restores the preceding rod arrangement and move count. The timer continues, so an undone move does not erase the time spent on it.

Does Hint move a disk for me?

No. Hint identifies a suggested move from the current rod arrangement; you still choose and move the disk.