Game guide · LUYUANJD
Play Tower of Hanoi with the rules at hand
Use the controls beside the game rather than guessing the rules. Move the complete stack of discs from the left tower to the right tower without placing a larger disc on a smaller one. Try the rule on the board, then read the next instruction. Choose three to eight discs. All discs begin on the left tower.
One puzzle with adjustable disc count from three to eight. Disc counts are settings, not separate game entries. Undo is available; refreshing restarts.
Try a more deliberate round
A careful first move helps you understand the round. An empty tower accepts any disc; an occupied tower accepts only a smaller disc than its top disc.
The objective of a round
Use the controls beside the game rather than guessing the rules. Move the complete stack of discs from the left tower to the right tower without placing a larger disc on a smaller one. The game area remains available above the explanation.
Follow these playing steps
- Choose three to eight discs. All discs begin on the left tower.
- Select the source tower, then the destination tower. Only the top disc moves.
- An empty tower accepts any disc; an occupied tower accepts only a smaller disc than its top disc.
- Use Undo to reverse a move. Complete the puzzle when the right tower holds the whole stack.
How to use the controls
The example and rules describe the same game you can play above. Tap the source tower and then its destination. Tap the selected tower again to cancel the selection. The game area remains available above the explanation.
See how the rules apply
A careful first move helps you understand the round. Three discs can be transferred in seven legal moves. Four discs need at least fifteen moves. Keep the goal in mind before your next move.
Keep this in mind
A careful first move helps you understand the round. Only the top disc can leave a tower. Moving a large disc onto a small disc is rejected. The game area remains available above the explanation.
A few questions answered
On this page, what is the aim of Tower of Hanoi?
Move the complete stack of discs from the left tower to the right tower without placing a larger disc on a smaller one. You can start a new round from the game controls.
When I start, how do the controls work?
Tap the source tower and then its destination. Tap the selected tower again to cancel the selection. You can start a new round from the game controls.
Can you show an example?
Three discs can be transferred in seven legal moves. Four discs need at least fifteen moves. You can start a new round from the game controls.
For this game, which mistake should I avoid?
Only the top disc can leave a tower. Moving a large disc onto a small disc is rejected. The worked example offers another way to follow the rule.
On this page, what rules and limits are used here?
One puzzle with adjustable disc count from three to eight. Disc counts are settings, not separate game entries. Undo is available; refreshing restarts. Scores here do not represent cash or prizes.
When I start, how many people can play here?
Solo. This is local browser play, not internet matchmaking. The game is played locally in your browser.
For this game, what is the minimum number of moves?
For n discs the minimum is 2^n − 1. The board shows the minimum for your selected disc count. The controls work with mouse or touch.
For this game, can I move several discs together?
No. One top disc moves at a time. The instructions above use these same rules.
On this page, what does Undo do?
It restores the immediately previous puzzle state and move count. You can start a new round from the game controls.
For this game, can I use the middle tower?
Yes. It is a temporary holding tower needed to move the stack legally. The worked example offers another way to follow the rule.