Fifteen Puzzle

Arrange tiles 1 through 15 in reading order with the empty space at the lower-right corner.

Loading game

Stats on this device

Your unfinished game is saved only in this browser.

Played
0
Wins
0
Win rate
Fastest win
Fewest moves
Best score
Current streak
0 days
Best streak
0 days

How to play

Arrange tiles 1 through 15 in reading order with the empty space at the lower-right corner.

  • Select a tile directly beside the empty space.
  • Slide it into the empty space to reposition one tile at a time.
  • Complete the top rows first, then solve the final rows without breaking them.

Strategy tips

  • Solve fixed rows from left to right and avoid disturbing them.
  • Use short cycles around the empty space to rotate nearby tiles.
  • Track Manhattan distance as a guide, but plan the last two tiles of each row together.

Complete guide

Rules, scoring, and strategy

The Fifteen Puzzle slides numbered tiles through one empty space on a four-by-four board. Every generated position is created from legal moves, so it is solvable without swapping tiles or relying on an impossible permutation.

Legal movement and goal

Select a tile directly above, below, left, or right of the empty space. That tile slides into the gap. The goal is reading order from 1 through 15 with the empty space in the lower-right corner; diagonal moves and arbitrary swaps are not legal.

Why solvability is guaranteed

Not every random permutation of fifteen tiles can be solved. This generator begins from the completed board and performs legal seeded moves, preserving the puzzle's parity class. A daily or numbered seed reproduces the same verified position.

Solve stable rows carefully

Place the top row from left to right, then the next row, while avoiding moves that disturb completed areas. The last two tiles of a row usually need to be positioned as a pair rather than forced independently.

Use cycles, not isolated pushes

Move the empty space around a small loop to rotate nearby tiles. Manhattan distance is a useful direction signal, but the locally closest move may trap the final row. Undo lets you compare a cycle without losing the original layout.

Questions players ask

Is every generated Fifteen Puzzle solvable?

Yes. Positions are produced by applying legal moves to a solved board, so they remain in the solvable parity class.

Can I move more than one tile at once?

No. Each move slides one tile adjacent to the empty space.

Why are the last two tiles of a row difficult?

Placing one without arranging the other can force a cycle that breaks the completed row, so the pair should be planned together.