HanoiTower

Train Your Brain, Move the Tower

Restoring your local board
One moment while your recent progress and best records are loaded.

What is Tower of Hanoi?

Tower of Hanoi is a classic logic puzzle: move a stack of disks from one peg to another using a spare peg, following three rules — move only one disk at a time, only the top disk can move, and a larger disk can never sit on a smaller one.

This online version offers 13 difficulty levels that progress from easy to hard, with live move tracking and comparison to the theoretical optimum. All records are saved locally and can be synced to the leaderboard after login.

13 LevelsLocal Best RecordsSync After Login

Free, Pure, and Logic-Focused

No barriers, no distractions. Open DiskMover and focus entirely on the puzzle.

Completely Free

All levels and features are free. No ads, no paywalls, no sign-up required.

free

Local Progress Saved

Your current board state and best records are saved automatically in the browser.

localStorage

Classic Logic Training

The optimal move count grows as 2^n - 1 — later levels demand real planning and patience.

brain training

Optional Cloud Sync

Sign in with your CodeFE account to sync your records to the cloud leaderboard.

cloud sync

Features

A proper Tower of Hanoi challenge

Thirteen Escalating Levels

Early stages are quick to learn, while later stages demand much tighter planning and patience.

Live Run Feedback

Moves, timer, theoretical optimum, and your personal best stay visible as you play.

Local First, Cloud When Needed

Keep playing anonymously, then sync cleared levels, best records, and leaderboard data after login.

Who It's For

From Starter to Pressure — There's a Level for You

Beginners Learning the Puzzle

The early levels are easier and quick to complete — perfect for learning the rules.

Optimizers Chasing the Minimum

Every level shows the theoretical optimum. Perfectionists can keep shaving moves off their best run.

Leaderboard Competitors

Log in to sync results to the leaderboard and compete with others on the highest cleared level.

FAQ

Common questions about the Tower of Hanoi rules and this online version.

Start the Tower of Hanoi Challenge

Free to play, no account needed. Start at Level 1 and see how far you can go.