🏠

TOWER OF HANOI

📖 How to Play, Rules & Tips / Oyun Rehberi

Tower of Hanoi is a famous mathematical puzzle invented in the 19th century. Move a stack of discs from one peg to another, moving only one disc at a time and never placing a larger disc on a smaller one.

The minimum number of moves grows quickly with each disc, making it a classic lesson in recursion and planning. It is used in schools and computer science classes around the world.

How the game works

Only the top disc of a peg can move, and a larger disc may never sit on a smaller one. With n discs the minimum number of moves is 2 to the power n, minus one: 7 for 3 discs, 15 for 4, 255 for 8.

Controls
  • Tap a peg to pick up its top disc, then tap the destination peg
Tips to play better
  1. With an odd number of discs, move the smallest disc to the target peg first.
  2. The smallest disc moves every second turn.
  3. Think recursively: move the top stack aside, move the largest disc, then rebuild.
  4. Move the smallest disc in a consistent direction.
  5. Count moves to compare with the minimum.
  6. Start with three discs and increase.