🧩

Sliding Puzzle

Slide tiles into the correct order — the classic 15-puzzle!

Click a tile adjacent to the blank to slide it.
Moves
0
Best (3×3)
Best (4×4)
Grid Size

About Sliding Puzzle

The classic tile-sliding puzzle — also known as the 15-puzzle (4×4) or 8-puzzle (3×3). Slide numbered tiles into the correct order using the empty space. The fewer moves, the better!

How to Play

  • Click any tile that is directly adjacent (up/down/left/right) to the blank space.
  • The tile slides into the blank spot.
  • Arrange all tiles in order (1, 2, 3… with blank at the end).
  • Use arrow keys to slide the tile that would move in that direction.
  • Try to solve it in as few moves as possible!

Frequently Asked Questions

Yes — the puzzle only generates solvable shuffles. Exactly half of all random arrangements are solvable; we check parity before presenting the puzzle.
The hardest possible 15-puzzle position requires 80 moves to solve optimally. A good human solution is typically under 150 moves.