Skip to content
← Games
Tower of Hanoi
Tower of Hanoi cover with six colored disks and three wooden pegs

Tower of Hanoi: play with three to eight disks

Created by Zarocer

Released

Report
Developer
Zarocer
Genre
Puzzle
Version
1.1.1
Published
October 4, 2026
Last updated
October 4, 2026
Game engine
HTML5
PLATFORMWeb Browser
DEVICESDesktop · Mobile · Tablet
CONTROLSMouse · Touch · Keyboard

Make room for the largest disk, one smaller tower at a time.

ABOUT THE GAME

About Tower of Hanoi

Tower of Hanoi asks you to move the whole stack to the right peg while keeping larger disks below smaller ones. Start with three disks to learn the pattern, then work toward the 255-move minimum for eight. This three-peg edition displays the classic starting minimum and saves records separately by disk count and mode. Hints find a shortest continuation from your current legal position, while Undo lets you revisit an unfinished choice. Pause stops the active timer, and restored local games wait for you to resume. The shared UTC daily challenge selects five, six or seven disks on the normal starting board; it does not introduce a different rule variant.

How to play

Choose a peg with disks, then a destination peg. Move only the top disk, never placing it on a smaller one. Rebuild the entire tower on the rightmost peg.

Rules in this version

  • Classic uses three pegs and three to eight disks.
  • Move one disk at a time, taking only the top disk from a peg.
  • A larger disk can never rest on a smaller disk.
  • Win by moving the full tower to the right peg.
  • The classic starting minimum is 2ⁿ − 1 moves. Daily selects five to seven disks by UTC date.

Tips for playing

  • Learn to move a small tower as a single stage within a larger plan.
  • Free the largest disk and its destination before committing to its move.
  • Hints work from the current position, while the displayed starting minimum stays fixed.

Questions about this game

What is the minimum with eight disks?

The standard three-peg start needs at least 255 moves, which is 2⁸ − 1.

Will my saved game start timing immediately?

Restored unfinished games are paused. Resume when you are ready; menus and pause stop active time.

Game screenshots

Six-disk Tower of Hanoi after 7 legal moves.
Six-disk Tower of Hanoi after 15 legal moves.
Six-disk Tower of Hanoi after 24 legal moves.

FEATURES

  • Three-peg Classic with three to eight disks
  • Shortest-continuation hints from the visible position
  • Undo, pause and local resume
  • UTC daily disk count and separate local records

CONTROLS

  • Click or tap a source peg and destination peg
  • 1, 2 and 3 select pegs; Tab and Enter activate buttons
  • Z undoes; H hints; N opens New game; Esc pauses or resumes

Version history

v1.1.0 ·
  • Validated compatible saves and recovery from malformed local data.
  • Reviewed keyboard, mobile and iframe controls.