Tower of Hanoi

Move the whole stack to the right-hand peg in as few moves as possible, one disc at a time.

Tower of Hanoi

PuzzleMedium 4.2

How to play Tower of Hanoi

Tower of Hanoi starts with three discs and works up to seven. Only one disc moves at a time, only from the top of a peg, and a disc may never rest on a smaller one. The minimum number of moves doubles plus one with each disc added, so the seven-disc level takes at least 127 moves.

Each level shows the par — the optimal move count — next to your running total. Solving a level at par is tracked separately from simply solving it.

Objective

Move the whole stack to the right-hand peg in as few moves as possible, one disc at a time.

Features

  • Five levels from three discs up to seven
  • Par move count shown and checked for every level
  • Illegal moves are rejected with a clear reason
  • Click-to-lift or drag to move discs
  • Best move count saved per level

Keyboard

←→Choose a peg
SpaceLift or drop a disc

Touch

TapTap a peg to lift, tap another to drop
CATEGORY
Puzzle
DIFFICULTY
Medium
EDITOR RATING
4.2 / 5
LOCAL HIGH SCORE
—
TIMES PLAYED HERE
—

Scores are saved in this browser only. There is no global ranking and nothing is uploaded.

More games like this

See all
Chess cover art
Trending

Chess

Board 4.5 Hard