Sliding Tiles
slide every tile home

Play Sliding Tiles — 8 and 15 Tile Puzzle

00:00
Tap: slideArrow keys: move a tile into the gap

How to play Sliding Tiles

The board has one empty square. Slide any tile next to the gap into it, one move at a time, until the tiles read 1, 2, 3 … in order from the top left, with the gap in the bottom-right corner. In picture mode the finished board shows the whole picture.

The 4×4 version with 15 tiles became a worldwide craze in the 1880s. Only half of all possible arrangements can ever be solved — the solver explains the neat counting rule (inversions) that tells you which half a position is in.

A good way to work by hand: finish the top row, then the left column, and keep shrinking the puzzle until a 2×2 corner is left.

How to play Sliding Tiles

Slide tiles into the empty square, one at a time, until they are back in order with the gap at the bottom right.

The rules

  1. A move slides one tile that is next to the gap (across or up and down) into the gap.
  2. Tiles can’t be lifted out or jumped over each other.
  3. The puzzle is solved when the tiles read 1, 2, 3 … left to right, top to bottom, with the gap in the bottom-right corner (or the picture is complete).

Playing here

  1. Choose 3×3 or 4×4, numbers or a picture, and a difficulty, then press New Puzzle.
  2. Tap a tile next to the gap to slide it in — or tap any tile in line with the gap to slide the whole row along. Arrow keys work too.
  3. Tiles in the right place get a green edge. Picture tiles show small numbers so you know where each piece belongs (you can switch them off).
  4. Hint shows the next move on the shortest way home, and the progress card shows the fewest moves possible.

Tips

The full guide, with a worked example and common mistakes: How to play Sliding Tiles.

Questions

Why can’t some positions be solved?

Each slide changes the number of inversions in a fixed way, so a hidden ‘odd or even’ value never changes. Positions with the wrong value can never reach the finished board.

Is the hint the shortest way?

Yes — the hint and the solver search for the fewest moves. For very scrambled 4×4 positions the solver may give a short solution instead if the exact search runs out of time, and says so.

Can I download puzzles?

Yes — download a PDF of puzzles with the shortest solutions at the back. Sliding puzzles don’t work on the Slate whiteboard, so there’s no Slate file for this one.

How do I solve one from a book or a toy?

Open the Sliding Tiles Solver, set up your position and press Solve.

Related