Tower of Hanoi

3D Game

Transfer stacked disks from the source peg to the destination peg in minimum moves without ever placing a larger disk on a smaller one.

Loading tool…

📖 About & Rules: Tower of Hanoi

Tower of Hanoi is a classic logic puzzle, presented here on an interactive 3D board.

Game Rules

Move every disk from the left peg to the right peg. You may move only the top disk of a peg, and a larger disk may never sit on a smaller one. The fewest possible moves for n disks is 2^n − 1.

How to Play

Select a peg with a disk to pick up its top disk, then select the destination peg. Select the same peg again to cancel. Choose 3 to 6 disks to change difficulty and restart.

Controls & Shortcuts

Select a peg on the 3D board or use the buttons belowTap / Click
Select the left, middle, or right peg when the board is focused1 / 2 / 3
Restart the current puzzleNew game

Tips & Strategies

  • Move the smallest disk frequently; it is the only disk that can go on any stack.
  • For an optimal solution, first move all but the largest disk to the middle peg.

Frequently Asked Questions

How many moves does Tower of Hanoi take?

The minimum is 2^n − 1 moves for n disks. For example, three disks take at least seven moves.

Similar games

3D · Puzzle · Strategy

Knight's Tour

Guide the chess knight to step onto every square of the chessboard exactly once in this historic challenge.

Untangle

Move network nodes around the plane to untangle crisscrossing lines until zero edges intersect.

Spider Solitaire

Build descending columns of cards in suit from King down to Ace across eight tableau piles.

Freecell

Solve open-deal solitaire by utilizing four temporary holding cells to organize cards into suit piles.

Connect Four

Drop colored discs into a 7x6 vertical grid to connect four in a row before your opponent.

Othello

Flank and flip your rival's discs on an 8x8 board to claim the majority in classic Reversi.

Quoridor

Navigate your pawn across the board while tactically placing wooden fences to block your rival.

Kakuro

Fill cross-sum numerical crossword grids with digits 1 through 9 without repeating numbers in any run.

Hashi

Build single and double bridges between numbered islands to connect all nodes into a single network.

Hex Minesweeper

Sweep a hexagonal grid of danger tiles using numeric proximity clues across six neighboring cells.

Laser Box

Rotate mirrors, prisms, and beam splitters to guide laser light onto target optical receptors.

Flow

Connect matching colored dots with continuous pipes across the grid without crossing or overlapping lines.

Tangram

Arrange seven traditional geometric polygons to fit silhouettes without overlapping any puzzle piece.

Rail Loop

Rotate curved and straight train track tiles to form seamless continuous railway circuits.

Chess

Master the timeless game of kings with tactical piece maneuvers, pawn structures, and checkmate strategies.

Chinese Chess

Command generals, chariots, cannons, and elephants across the central river in ancient Xiangqi warfare.

Battleship

Call out grid coordinates to hunt, strike, and sink your opponent's hidden fleet of naval warships.

Mancala

Sow and capture glass seeds through wooden pits and storehouses in the world's oldest pit-and-pebble game.

Nonogram

Decode numeric row and column clues to reveal hidden pixel art illustrations in Japanese picross grids.

Mastermind

Crack the secret four-color peg combination in ten turns or fewer using deductive feedback clues.

Lights Out

Flip grid switches to toggle adjacent light states and turn off every illuminated cell on the board.

Maze

Navigate winding labyrinth corridors, avoid dead ends, and discover the path to the finish line.

Sliding Puzzle

Slide numbered tiles into sequential order using a single empty space in the classic 15-puzzle.

Water Jug Puzzle

Pour water back and forth between different capacity jugs to measure out exact target liquid amounts.

Kenken

Fill grid cages with digits that satisfy target arithmetic sums, differences, products, and quotients.

Slitherlink

Draw a single continuous closed loop around numbers indicating how many surrounding sides are visited.

Sudoku

Fill a 9x9 grid with numbers 1 to 9 so every row, column, and 3x3 box contains all digits without repetition.

Gomoku

Compete on an open 15x15 Go grid to be the first player to form an unbroken line of five stones.

Checkers

Jump over enemy draughts pieces, make multi-hop captures, and crown your kings on the dark squares.

Wordie

Guess the secret five-letter mystery word within six guesses with colored tile feedback after each try.

Sos

Place S and O letters into grid squares to form the word S-O-S and outscore your opponent.

Dots and Boxes

Connect adjacent grid dots with lines to complete four-sided squares and capture territory.

Virtual Rage Room

Smash computers, televisions, plates, and vases in a satisfying, stress-relieving digital sandbox.

Block Puzzle

Drag and fit polyomino wooden blocks into 8x8 rows and columns to clear lines and keep space open.

Minesweeper

Flag hidden explosive mines and safely uncover empty squares using numerical proximity clues.

Tetris

Rotate and drop falling geometric blocks into complete horizontal lines to prevent the matrix from topping out.

Whack-a-Mole

Test your reflexes and whack sneaky moles popping out of underground holes before they disappear.

Mahjong

Find and match unblocked pairs of traditional Chinese tiles to dismantle multi-layered 3D pyramids.

Solitaire

Sort a 52-card deck into four foundation suits from Ace to King in classic Klondike Solitaire.

Go 9x9

Play the ancient game of territory control on a fast-paced, beginner-friendly 9x9 Go grid.

Futoshiki

Solve Japanese logic grids by placing numbers that respect greater-than and less-than inequality signs.

Star Battle

Place stars into partitioned grid zones so that each row, column, and island contains exactly two stars.

Threes

Slide number cards to combine ones and twos into threes, then merge matching multiples for high scores.

Nine Men's Morris

Form alignments of three pieces along board lines to capture enemy counters in this Roman strategy classic.

Traffic Racer

Weave between high-speed highway cars, dodge lane blockers, and race down the asphalt highway.

Free Kick

Bend curved soccer ball shots around defensive walls and beat the diving goalkeeper into the goal net.

Suika

Drop and collide matching fruits to merge them into larger fruits until you form the giant watermelon.

Archery 3D

Draw your bowstring, gauge the shifting crosswinds, and loose arrows into 3D concentric target rings.

Tesla Roadster 3D

Accelerate the all-electric supercar through winding city streets and high-speed drag racing tracks.