Skip to content
XINVENTURES

Solo · FREE PLAY

Tower of Hanoi

Read the rules ↓
Logic & numbers
Choose your controls and enjoy a free round.
No account neededRules & controls →

Game guide · XINVENTURES

Tower of Hanoi: what to know before playing

Keep the goal in view while choosing a move. Move the complete stack of discs from the left tower to the right tower without placing a larger disc on a smaller one. Choose three to eight discs. All discs begin on the left tower. Try the rule on the board, then read the next instruction.

One puzzle with adjustable disc count from three to eight. Disc counts are settings, not separate game entries. Undo is available; refreshing restarts.

Something to practise

Use the controls beside the game rather than guessing the rules. An empty tower accepts any disc; an occupied tower accepts only a smaller disc than its top disc. Start a new round when you are ready to try again.

Your goal

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.

The steps to play

  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.

Your inputs

The board gives you the information needed for the next action. Tap the source tower and then its destination. Tap the selected tower again to cancel the selection. Keep the goal in mind before your next move.

Follow the example

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. The game area remains available above the explanation.

Where a round can go wrong

Check the rule below as you play. Only the top disc can leave a tower. Moving a large disc onto a small disc is rejected. Start a new round when you are ready to try again.

More answers before you play

When I start, 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. Keep the current game state in view while applying this rule.

For this game, 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.

When I start, can you show an example?

Three discs can be transferred in seven legal moves. Four discs need at least fifteen moves. Use the labelled controls for your next action.

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.

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. The worked example offers another way to follow the rule.

How many people can play here?

Solo. This is local browser play, not internet matchmaking. Use the labelled controls for your next action.

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. No download or player account is required.

During a round, can I move several discs together?

No. One top disc moves at a time. The worked example offers another way to follow the rule.

For this game, what does Undo do?

It restores the immediately previous puzzle state and move count. The instructions above use these same rules.

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.

Games

More games to discover

View all games
Choose a Card Game (opens in a new tab)