Tower of Hanoi
Easy
00:00
Classic
Easy Tower of Hanoi β what to expect
Three disks is where everyone starts. The puzzle takes 7 moves to solve and you can usually figure it out by trial and error in under a minute. Once you see the pattern β move the smallest disk out of the way, shift the middle disk, move the smallest again β the recursive structure starts to click.
How to play Tower of Hanoi
- Move every disk from the left peg to the right peg.
- Move one disk at a time, and only the top disk of a stack.
- Never put a bigger disk on a smaller one. The middle peg is there to help.
- Drag a disk to another peg, or tap a peg and then the peg to move to. On a keyboard, 1, 2 and 3 pick the pegs.
- Each extra disk doubles the work: 3 disks take 7 moves at best, 10 disks take 1,023.
- To move a stack, first move everything above its bottom disk out of the way. The smallest disk moves on every other turn.