↻ palika.fun← All 24 experiences
15 / LOGIC · SLIDING PUZZLE

Slide Nine: the 8‑puzzle sliding game

Eight tiles. One empty space. Put a small world back in order.

Slide Nine is the classic 8-puzzle: a 3 × 3 board, tiles numbered 1 to 8 and a single gap to slide them through.

Arrange the tiles as 1–8, left to right, with the empty space at the bottom right. Select a tile next to the empty space to slide it. Boards are shuffled using legal moves, so every puzzle is solvable.

Next curiosity: Lights Out ↗
LET’S PLAY
Ready when you are.

ABOUT THE GAME

About Slide Nine

Slide Nine is a sliding tile puzzle on a 3 × 3 board, the size usually called the 8-puzzle. Eight numbered tiles share nine squares, so there is always one empty space. A tile can move only into that space, and only if it sits directly beside it. Your goal is to restore the order 1 2 3 / 4 5 6 / 7 8 with the gap in the bottom-right corner, in as few moves as you can manage.

How to play

  1. Look for the empty square. Only the tiles directly above, below, left or right of it can move.
  2. Select one of those tiles to slide it into the gap. The gap moves to where the tile was.
  3. Keep sliding until the top row reads 1 2 3, the middle row 4 5 6 and the bottom row 7 8 with the gap last.
  4. Undo takes back your last move and removes it from the move count.
  5. Start over deals a fresh shuffle. After a win, Another puzzle does the same.

Controls

A reliable way to solve it

Solve the board in pieces, and never disturb a piece you have finished.

  1. Top row first. Put 1 in the top-left corner. Then place 2 in the top-right corner with 3 directly below it. Bring the gap to the top-middle square, slide 2 left and slide 3 up: the row reads 1 2 3.
  2. Then the left column. Without disturbing the top row, place 4 in the bottom-left corner with 7 directly to its right. Bring the gap to the middle-left square, slide 4 up and slide 7 left: the column reads 4 above 7.
  3. Finish the last four squares. Once 1, 2, 3, 4 and 7 are home, only 5, 6 and 8 are left in a 2 × 2 corner. Keep moving the gap around that small square in one direction and the three tiles rotate; within a few turns they line up.

The last step always works because Slide Nine only deals solvable boards: once the top row and left column are fixed, the remaining three tiles can always be rotated into order.

Getting your move count down

Questions

Is every Slide Nine puzzle solvable?

Yes. Only half of all possible arrangements of eight tiles can be solved, but Slide Nine builds every puzzle by sliding tiles away from the finished board using legal moves, so it never deals an impossible one.

What is the fewest number of moves?

It depends on the shuffle. Every board can be solved in 31 moves or fewer, and most boards Slide Nine deals need around 17 to 25.

Does using Undo hurt my score?

No. Undo removes the move from your count, so your score is the length of the path you finished with.

Where is my best score saved?

Your fewest-moves best is stored in this browser on your device. It is the same record whether you play here or from an older palika.fun link to Slide Nine. No account is needed.

How is this different from the 15-puzzle?

It is the same idea on a smaller board. The 15-puzzle uses a 4 × 4 frame with 15 tiles; Slide Nine uses 3 × 3 with 8 tiles, so each game is much shorter.

Can I play on my phone?

Yes. Tap the tile you want to slide. It runs in the browser, with nothing to download.

More to play