Tower of Hanoi
Move a stack of different-sized discs between three pegs.
Planning puzzle
Tower of Hanoi
Move the full tower to the right peg. Move one disk at a time and never place a larger disk on a smaller one.
Score
0 / minimum 15
Free-play browser game. No purchases, betting, prizes, public chat or account required. Progress stays on this device.
About the Tower of Hanoi
Move the entire stack from the left peg to the right peg, using the middle peg as temporary space. Only the top disk can move, and a larger disk cannot be placed on a smaller one.
Choose three, four, five or six disks. The counter compares your accepted moves with 2 to the power of the disk count minus 1; this is a mathematical target, not a hint sequence.
The game contains no purchases, cash prizes, betting, loot boxes, public chat or violent imagery. It runs locally in the browser, and any saved best score remains on this device.
Key features
- Three to six disks
- Legal-move enforcement
- Move count and optimal target
How to use
- 1Choose a disk count, then click or tap a nonempty peg to select its top disk.
- 2Select another peg to move that disk. An illegal destination leaves the source selected; select the source again to cancel.
- 3Move all disks to the rightmost peg. Every accepted transfer adds one move.
- 4New game or a disk-count button restores the starting stack and clears moves. There is no saved attempt, drag control or keyboard disk-movement shortcut.
Examples
Move the smallest disc from peg A to peg COne legal moveThe mathematical minimum is two to the power of the disc count, minus one.
Frequently asked questions
- Is this game free?
- Yes. There are no purchases, entry fees, paid upgrades, virtual currency or prizes.
- Is this game suitable for general audiences?
- Yes. It uses family-friendly words, questions and abstract game pieces without graphic or adult content.
- Where are my game results stored?
- This game has no saved-board or best-score mechanism; current answers and progress disappear on reload. This is not a claim that the whole website has no analytics: the shared opening hook records the tool slug.
- Why did my disk not move?
- The destination may have a smaller top disk. The app leaves the source selected so you can choose a legal peg or cancel it.
- Can I choose seven disks?
- No. This interface currently offers three through six disks, despite the old feature wording.
Continue your workflow
Open a related tool to prepare your files or refine the finished result.
- Browser GamesSliding Tile Puzzle
Sliding-tile practice currently limited by a known board-generation defect.
Open tool - Browser GamesNumber Sequence Challenge
Identify the next value in arithmetic and pattern-based number sequences.
Open tool - Browser GamesSudoku
Complete classic 9 by 9 number puzzles with selectable cells, number controls and answer checking.
Open tool
