Sliding Puzzle: play online and learn how to solve it

Numbered tiles sit in a square frame with one empty space. Slide tiles into the space until the numbers read in order from the top left, with the gap at the bottom right. This puzzle has been played since the 1880s.

Game settings

Rules of Sliding Puzzle

Goal of the game

Put the tiles in order 1, 2, 3… row by row, with the empty space in the last square.

Setup

  • Easy is 3×3 (8 tiles), Normal 4×4 (15 tiles) and Hard 5×5 (24 tiles).
  • The tiles are shuffled in a way that can always be solved.

How to play

  1. Tap a tile in the same row or column as the gap: it and the tiles between slide into the gap.
  2. With a keyboard, the arrow keys move the tile next to the gap.
  3. Tiles already in their home square glow blue.

Winning, losing and draws

  • The puzzle is solved when every tile is home. Moves and time are recorded.

Common beginner mistakes

  • Trying to place all tiles at once: finish the top row, then the left column, and repeat on the smaller area.
  • Breaking finished rows when you place the last tiles of a row — use a small loop to bring them in.

Terms

Gap
The empty square tiles slide into.
Parity
A rule that decides if a shuffle can be solved; this app checks it.

Rules used in this app

  • A shuffle that could not be solved is fixed by swapping two tiles before you start.
  • Moving several tiles in one tap counts as several moves.

Arcade puzzles

Six puzzles in an arcade cabinet, each with three difficulties and a top-5 high-score table. Every puzzle is generated fresh and can always be solved. High scores stay in this browser only.

FAQ

Can every puzzle here be solved?

Yes. Exactly half of all shuffles are impossible, and this app never gives you one.

What is a good number of moves?

On 4×4, under 200 moves is good for a beginner; shortest solutions are usually 40–80 moves.