🔢 Sliding Puzzle

Slide tiles into numerical order from 1 to the end. One space is empty. Click any tile next to the empty space to slide it in. Arrow keys also work.

Moves: 0
Time: 0:00
Best: --
🎉 Solved in moves!

Tap a tile to slide it into the empty space. Arrow keys move the empty space.

Best this session (4x4): --   (3x3): --

How to Play the Sliding Puzzle

Click any tile adjacent to the empty space to slide it into the gap. The goal is to arrange all tiles in numerical order from 1 upward, with the empty space in the bottom-right corner. Arrow keys move the empty space in that direction, pulling the adjacent tile with it.

Is It Always Solvable?

Not every random arrangement of tiles can be solved. Exactly half of all possible arrangements are unsolvable due to parity constraints. This version checks solvability before presenting any puzzle, so every game you get is guaranteed to have a solution.

Strategy

Solve the top rows first, then the left column, working down and right. Avoid moving tiles out of already-solved positions. The last 2x2 area in the bottom-right requires a specific rotation sequence to complete without disturbing the rest of the board.

Frequently Asked Questions

What is the minimum number of moves to solve?
For the 4x4 puzzle, optimal solutions typically require 50 to 80 moves depending on the shuffle. The 3x3 can usually be solved in under 30.
Is every puzzle solvable?
Yes. Every puzzle is verified solvable before it is shown to you. Half of all possible arrangements are unsolvable, and this version filters them out automatically.
Can I use keyboard controls?
Yes. Arrow keys move the empty space in that direction. Up arrow moves the empty space up (the tile below slides up), and so on.
What is a good score?
Under 100 moves for the 4x4 is good. Under 60 is excellent. For the 3x3, under 25 moves is strong.

Try These Next