Skip to content

Know the goal in Tower of Hanoi

A focus for your next round

The board gives you the information needed for the next action. An empty tower accepts any disc; an occupied tower accepts only a smaller disc than its top disc.

What counts as success

Take a moment to check the current turn. 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.

Work through the instructions

  1. Choose three to eight discs. All discs begin on the left tower.
  2. Select the source tower, then the destination tower. Only the top disc moves.
  3. An empty tower accepts any disc; an occupied tower accepts only a smaller disc than its top disc.
  4. Use Undo to reverse a move. Complete the puzzle when the right tower holds the whole stack.

Using the playing area

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.

One way to understand the rules

Begin with the basic rule, then follow the result of your action. Three discs can be transferred in seven legal moves. Four discs need at least fifteen moves.

A common point of confusion

The board gives you the information needed for the next action. Only the top disc can leave a tower. Moving a large disc onto a small disc is rejected.

Helpful answers for players

For this game, 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. Scores here do not represent cash or prizes.

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. Use the labelled controls for your next action.

On this page, 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.

On this page, which mistake should I avoid?

Only the top disc can leave a tower. Moving a large disc onto a small disc is rejected. No download or player account is required.

During a round, 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. You can start a new round from the game controls.

For this game, how many people can play here?

Solo. This is local browser play, not internet matchmaking. Keep the current game state in view while applying this rule.

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. You can start a new round from the game controls.

On this page, can I move several discs together?

No. One top disc moves at a time. Scores here do not represent cash or prizes.

For this game, what does Undo do?

It restores the immediately previous puzzle state and move count. A new round resets the current game.

On this page, can I use the middle tower?

Yes. It is a temporary holding tower needed to move the stack legally. No download or player account is required.