Tower Of Hanoi

Moves
0
Disks
5
Min Moves
31
5
4
3
2
1
Peg A
Peg B
Peg C

How to Play

Move all disks from Peg A to Peg C. Only one disk can be moved at a time, and a larger disk can never be placed on top of a smaller one.

Desktop: Drag disks to move them between pegs

Mobile: Tap a disk to select it, then tap a peg to move it there

Swipe horizontally on mobile to see all pegs

Congratulations!

You solved the puzzle in

0 moves

The minimum possible moves is 31