Tower of Hanoi
Move all disks to the target peg using the minimum number of moves!
Click a peg to select its top disk, then click another peg to move it. Move all disks to the right peg!
About Tower of Hanoi
Tower of Hanoi is a classic mathematical puzzle where you move a stack of disks from one peg to another.
How to Play
Click a peg to pick up the top disk, then click another peg to place it. You can only place a smaller disk on top of a larger one. Move all disks from the left peg to the right peg!
Tips
- The minimum moves needed is 2^n - 1 (n = number of disks).
- Start by solving smaller sub-problems recursively.
- Use the middle peg as temporary storage strategically.
- games.towerOfHanoi.about.tip4
- games.towerOfHanoi.about.tip5