Solving method

How to solve the 15 puzzle: a row-by-row method for Slide 15

The 15 puzzle looks as if it needs a plan for all fifteen tiles. It does not. Solve it in a fixed order, a line at a time, and never touch a finished line again. The only trick to learn is how to seat the last two tiles of a line together.

The order

First the top row, then the second row. Then the two bottom rows together, a column at a time from the left: 9 and 13, then 10 and 14. What is left is a 2×2 corner with 11, 12, 15 and the gap. After each stage the part you still have to think about gets smaller.

How to solve the 15 puzzle — The order
The order of work, by colour: the top row, the second row, tiles 9 and 13, tiles 10 and 14, and the last corner.

The first tiles of a row

The first two tiles of a row are easy: bring each one home in turn. A tile travels by having the gap put in front of it and then stepping into the gap, so move the gap around the tile, and around the tiles that are already home, never through them.

The last two tiles go in together

The last two tiles of a row cannot be seated one at a time: putting 3 home and then forcing 4 in pushes 3 out again. Park them instead. Bring 4 into the cell where 3 belongs, put 3 directly below it, and leave the gap in the top right corner. Now slide 4 to the right and 3 up. The second row works the same way with 8 and 7.

How to solve the 15 puzzle — The last two tiles go in together
Left: 4 waits where 3 belongs, 3 is below it and the gap is in the corner. Right: 4 has moved right and 3 up, and the row is done.

The bottom rows, turned on their side

For the two bottom rows, do the same move sideways. Bring 13 into the cell where 9 belongs, put 9 just to its right, and leave the gap in the bottom left corner. Slide 13 down and 9 left. Then do it again one column over with 14 and 10.

How to solve the 15 puzzle — The bottom rows, turned on their side
Left: 13 waits where 9 belongs, with 9 beside it and the gap below. Right: 13 has moved down and 9 left, and the first column is done.

The last corner

Now 11, 12 and 15 circle the gap in the bottom right 2×2. Every board the game deals can be solved, so turning these three round one way or the other always brings them home; go the shorter way, which takes six moves or fewer. If they will not come right, a tile above them is not where it should be: check the finished lines.

How to solve the 15 puzzle — The last corner
Left: 11, 12 and 15 with the gap in the last corner. Right: 11 has moved left and 12 up, and the board is in order.

What the board counts

Time ranks first and moves only break a tie, so steady taps without pauses beat clever routes. A tap on a tile further along the gap’s row or column slides up to three tiles at once: that is three moves but one tap. Every dealt board needs at least 35 moves, and this method takes more than the fewest possible; that is fine. The In place count can drop while you park the last two tiles of a row. That is the method working, not a mistake.

More solving methods