Play the classic 15 puzzle in your browser: slide the numbered tiles into the empty space until they are in order from 1 to 15. Also in 3×3 (8 puzzle) and 5×5 (24 puzzle). Every shuffle is guaranteed to be solvable. Click a tile (a whole row or column slides at once) or use the arrow keys, and beat your best time and move count.
The 15 puzzle is a sliding puzzle with 15 numbered tiles and one empty space in a 4×4 frame. A tile next to the empty space can slide into it. Starting from a shuffled position, put the tiles back in order: 1 to 4 in the top row, 5 to 8 in the second, and so on, with the empty space in the bottom-right corner.
The standard method solves the puzzle one row and one column at a time, shrinking it until only a 2×2 block remains. Once a row or column is finished, never touch it again.
Do the same for the left column: 5, then 9 and 13 on a 4×4. The last two tiles go in as a pair, turned the other way: put 9 in the bottom-left corner (the target of 13) and 13 to its right, bring the space above 9, then slide 9 up and 13 left.
Now the remaining tiles form a smaller puzzle: 3×3 on a 4×4, or 4×4 on a 5×5. Solve its top row and left column with the same steps (6, 7, 8 and then 10, 14 on a 4×4). On a 5×5, repeat once more.
The last three tiles (11, 12 and 15 on a 4×4, or 5, 6 and 8 on a 3×3) share a 2×2 block with the empty space. Rotate the space around the block in one direction until all three fall into place. Because every puzzle here is solvable, the three tiles are always in an order that rotating can fix.
Yes. Only half of all arrangements of the tiles can be solved (for example, swapping just 14 and 15 cannot be fixed, as in Sam Loyd's famous "14-15 puzzle"). The shuffle checks this and only gives you solvable puzzles.
Any 4×4 position can be solved in at most 80 single-tile moves, but finding the shortest solution is hard even for a computer. The method above usually takes 100 to 200 moves.
It solves the puzzle from the current position and shows the next tile to move. On 3×3 it finds the shortest possible solution; on 4×4 and 5×5 it finds a short solution quickly (weighted A* search). If you follow the hints, they stay on the same solution; if you make other moves, the next hint is worked out again from the new position.
A puzzle solved with hints is not counted for your best results.
Yes. The board, the move count, the timer and your best results are saved in this browser.
Open Records & history below the game. It shows your best result for each size and your last 10 games with the date and time and the number of hints used. They are saved in this browser only.