← All games
🗼

Tower of Hanoi

▶ Start playing

Free · no sign-up · on phone and computer

💡Benefits

The Tower of Hanoi is a classic puzzle known since 1883 and used in cognitive psychology as a test of planning ability (Simon, 1975). The child must build several moves ahead in their mind, set intermediate goals and find a path within the constraint that a larger disk never sits on a smaller one.

It exercises executive functions together: planning, impulse control and working memory. Each extra disk more than doubles the minimum number of moves, so the child learns the strategy of breaking a hard problem into small steps.

🎮How to play

Move the whole stack of disks from the marked peg to the target peg in the same order.

  1. Choose the number of disks, from 3 to 7 — more disks, harder game.
  2. Drag the top disk to another peg, or tap the disk first and the destination peg second.
  3. One rule: a bigger disk can never rest on a smaller one — legal pegs glow green.
  4. Once all disks reach the target peg, the game rates the efficiency of your solution.

The optimum is 7 moves for 3 disks and 127 for 7 — start by planning how to free the largest disk.

❓Frequently asked questions

Yes, the Tower of Hanoi on MentalMath is free and available without registration.
Moving discs from one peg to another by the rules teaches a child to think step by step and to master recursive planning.
Hanoi suits children from 6-7 years: a younger child starts with 3 discs, while an older one takes on 5-6 discs.
Only one disc moves at a time and a larger disc may never sit on a smaller one, and this very limit pushes a child to plan each step ahead.
Yes, discs are easy to drag on a phone or tablet; 10 minutes a day while slowly adding more discs gives good results.
Start playing 🚀

Other games

🧮 See the mental arithmetic lessons too