Tower of Hanoi

Score: 0 · Best: 0

Click or tap a peg to pick up its top disc, then click another peg to drop it. Keys 1, 2 and 3 also work.

About the game

A famous logic puzzle. Move the stack of five discs from the left peg to the right peg. You can move only one disc at a time, and you can never place a larger disc on top of a smaller one. The perfect solution takes 31 moves. Can you match it?

How to play

Click or tap a peg to pick up its top disc, then click another peg to drop it. Keys 1, 2 and 3 also work.

Tips

  • With an odd number of discs, move the smallest disc to the right peg first.
  • The smallest disc moves every other turn, always in the same direction.
  • Between moves of the smallest disc, there is only one legal move.
Category
Puzzle
Works on
Phone, tablet and computer

You may also like