Strategy guides · Sliding blocks online

How to solve sliding block puzzles: strategies that work

In a sliding block puzzle, blocks slide only along their length and you clear a path for one special block. Unjam asks you to get the yellow block out through the gap on the right. Thinking backward is the key.

The rules

Horizontal blocks slide left and right, vertical blocks slide up and down. Blocks can't pass through each other or turn. Move the yellow block out through the exit on the right side of its row.

1. Work backward from the exit

Look at the blocks standing between the yellow block and the exit. For each one, ask where it needs to go to get out of the way, and what stands in the way of that. You've built a chain; solve it from the far end.

2. Long blockers first

A tall vertical block in the yellow block's row usually has to go all the way up or all the way down, because it covers most of the column. Find which direction has room and clear that side early.

3. Make space, then use it

Most hard positions need a gap somewhere else on the board before the key move works. Moving a block that has nothing to do with the exit can be exactly right if it opens space for a blocker.

4. Don't shuffle

If you find yourself moving the same two blocks back and forth, stop and redo the chain from step 1. Every useful move should bring one blocker closer to free.

Common mistakes

  • Moving the yellow block first. It usually needs to wait until the path is clear.
  • Parking a block where it blocks the next blocker.
  • Forgetting there's no move limit: take your time to plan.