Game guide · Puzzle

How to solve car parking puzzles

In a car parking puzzle your car is stuck in a crowded car park and the others can only roll forwards and back. It looks like chaos at first, but every jam has a structure, and once you learn to read it, even a thirty-move level becomes a calm chain of small steps. This guide shows you how.

3 min read · Updated · Free, in your browser

AllFun Valet Shuffle: a car park at night seen from above, a gold car with stripes boxed in by cars and vans
AllFun Valet Shuffle300 levels made by a generator and checked by a solver, plus a Daily car park.

What a car parking puzzle is

A car parking puzzle is a sliding block puzzle on a small grid. Each vehicle fills two or three squares in a straight line and can only move along that line, the way a real car drives forwards and in reverse. One vehicle is special: yours. The aim is to open a way for it to the exit, using as few moves as you can.

Playing on AllFun

AllFun Valet Shuffle sets the puzzle in a six by six car park at night. Your gold car with its two stripes always sits in the third row, facing the gate in the right wall. Drag any car or van along its length; when the gold car has a clear run to the gate, slide it out and the level is done.

Each level shows its par, the fewest moves a solver needed. Finish in par for three stars. Undo and Restart cost nothing, and Hint plays the best next move from the position you are in, so you can always find your way again after a detour.

The rules

  • Vehicles across the car park move left and right; vehicles standing lengthways move up and down.
  • Nothing turns, lifts or passes through another vehicle.
  • A move is one vehicle sliding in one direction, any number of squares.
  • The level is solved when your car leaves through the gate.

Reading a jam step by step

1. Find the blockers

Look along your car's row, from its front bumper to the gate. Every vehicle standing in that stretch is a first-level blocker. In this game they are always vehicles standing lengthways, because anything lying across that row could never get out of the way.

2. Ask where each blocker can go

A blocker standing lengthways must move up or down far enough to leave your row completely. A car two squares long might clear it by moving one square; a van three squares long that covers the row from the middle needs room for its whole length above or below it.

3. Follow the chain

If that room is taken, the vehicle in the way is a second-level blocker, and the same question applies to it. Keep following the chain until you reach a vehicle that can move freely. That is usually where the real solution starts, often far from your car.

4. Count before you slide

Before moving anything, check whether the move helps the chain or only rearranges the car park. A slide that does not free anything is often a step backwards.

Tips for reaching par

  1. Slide all the way. A slide of three squares costs no more than a slide of one, so move a vehicle as far as it will usefully go.
  2. Watch the corners. Vehicles parked in a corner often need to move first, because they hold the room others need.
  3. Undo freely. Exploring a line and undoing it costs nothing, and it shows you which moves really matter.
  4. Replay for stars. A level solved in more moves is easier the second time, once you know the key move.
  5. Learn from hints. After a hint, ask why that vehicle moved first; the same idea will come back.

A short history

Sliding block puzzles have been around since the late 1800s, first as wooden trays of numbered tiles and blocks of different sizes. The version in which every block is a vehicle that can only drive along its length became a popular wooden puzzle in the second half of the twentieth century, and it was a natural fit for phones, where a jammed car park takes just a few seconds to set up and much longer to clear.

Car parking puzzle FAQ

Is there always a solution?

In our game, yes. Every level and every Daily car park has been solved by a computer before you see it.

What does par mean?

The smallest possible number of moves for that level, found by trying every possible sequence. Matching it earns three stars.

Do longer vehicles make a level harder?

Usually, because a van needs more free space to get out of a row, so it locks up more of the car park.

Ready for a game? AllFun Valet Shuffle is free and opens right here in your browser.

Play Valet Shuffle