Catalog
tower of hanoi.
v1.0

Stats

Disks3
Moves0
Optimal7
Best—

Controls

SelectClick
Peg1 2 3
LevelL
RestartR
▤

Tower of Hanoi

Move the stack from peg 1 to peg 3. You can only place smaller disks on larger ones.
Fewest moves = optimal solution.

Best —Fewest moves
⏸

Paused

Take your time. The disks wait.

★

Solved

Optimal in 0 moves on 3 disks.

Best —