Back to BlogGame Guides

How to Play Rush Hour: Rules, Tips and What 1,500 Boards Show

How to play Rush Hour, the sliding car puzzle: the rules, how moves are counted, a solve in 3 moves, and what a computer found when it solved all 1,500 boards in our free version, Traffic Jam. Play it free in your browser.

How to Play Rush Hour: Rules, Tips and What 1,500 Boards Show

Rush Hour is a sliding puzzle played on a 6 by 6 grid packed with cars and trucks. You slide the cars forward and back in their own lanes until the red car has a clear road to the exit in the right side of the grid. There is no luck and no timer: every board has a fixed answer, and the challenge is to find it in as few moves as you can.

We have our own free version of this puzzle in Game Attic, our collection of free browser games. In Game Attic it is called Traffic Jam, and you can play Traffic Jam free while you read. It has the same rules as the board game and phone versions like Unblock Me, with 300 boards on each of its five levels. This guide explains the rules with Traffic Jam boards, then shows what we found when a computer solved all 1,500 of them and looked at every move you could make.

How to play Rush Hour: the rules

  1. The goal. Get the red car out through the gap in the right wall. The red car always sits in the third row, the one that leads to the exit.
  2. Cars move in straight lines. A car lying across the grid moves only left and right. A car standing up and down moves only up and down. No car ever turns or lifts off the board.
  3. Cars stop when they meet something. A car can slide as far as it likes in one go, but it cannot pass through another car or the wall.
  4. Cars and trucks. Cars are two squares long. Trucks are three squares long, so they block more and have less room to move.
  5. One move is one car slid any distance. Sliding a car one square or four squares counts the same: one move.
  6. Fewest moves wins. Any solve frees the car, but a good solve uses the fewest moves the board allows.

A Traffic Jam board with arrows on each car: cars lying across can only move left and right, upright cars only up and down, and the red car must reach the exit on the right

In Traffic Jam you can drag a car with your finger or mouse, or just tap one end of it. A tap slides the car as far as it can go toward the end you tapped. Undo is free, and the game tells you at the end whether you matched the fewest moves.

A solve in 3 moves

Here is a real Easy board from Traffic Jam. The red car is two squares from the left wall. One upright car stands right in front of it.

Four boards in a row: at the start an upright car blocks the red car; first the car at the bottom left slides left; then the blocking car slides down into the space; then the red car drives to the exit

The blocker cannot go up, because another upright car sits directly above it. It cannot go down either, because a car lying across the fifth row is in the way. So the first move is not the blocker at all. It is the car on the fifth row: slide it left. Now the blocker slides down one square into the gap, and the red car drives straight out. Three moves, and no board like this can be done in fewer.

That is the whole method in small form. Look at the car in front of the red car, then ask what is stopping that car from moving, and keep going back until you find a car that is free to move. On hard boards the chain runs five or six cars deep.

How Rush Hour difficulty works

Every Traffic Jam board was checked by a program that tries every possible move, so we know the fewest moves each one needs. Here is how the five levels compare across the 1,500 boards.

LevelCars on the boardFewest moves neededAverage
Easy5 to 73 to 53.3
Medium8 to 106 to 96.9
Hard10 to 1210 to 1411.0
Very Hard11 to 1315 to 2016.0
Master11 to 1421 to 3222.6

More cars make a board harder, but only up to a point. Master boards have about the same number of cars as Very Hard ones. What makes them longer is how the cars lock together, and trucks help most with that, because a truck standing up fills half a column.

What a computer found in 1,500 boards

We ran our own solver on every board in Traffic Jam. For each one it worked out every layout the cars could ever reach from the start, and how many moves each layout is from a solved board. Three results surprised us.

The number of cars in the way tells you almost nothing

The first thing most people do is count the cars between the red car and the exit. On Traffic Jam's 300 Master boards, that count has no link with how hard the board is.

Bar chart of Master boards: with 1 car in front of the red car the fewest moves average 22.2, with 2 cars 22.5, with 3 cars 23.3 and with 4 cars 21.7

Master boards with just one car in front of the red car needed 22.2 moves on average. Boards with four cars in front needed 21.7. A single blocker can be the hardest board on the shelf if it is pinned in by a truck, which is pinned in by two more cars, and so on. So do not judge a board by the red car's row. Judge it by the chain behind the first blocker.

Most first moves are wasted

On an Easy board you can make about 13 different first moves, and almost 5 of them start a shortest solve. On Master you have fewer choices, about 7, and only 3 of them are good. On 11% of Master boards exactly one first move starts a shortest solve, and 13% of all Master first moves leave the red car further from the exit, counted in the moves still needed.

Bar chart by level of moves you can make first against first moves on a shortest solve: Easy 12.8 and 4.8, Medium 10.7 and 4.3, Hard 8.0 and 3.8, Very Hard 7.3 and 3.4, Master 6.8 and 3.0

This is why hard boards feel stuck. You are not short of moves. You are short of moves that help, and a wrong one can feel like progress because a car moved.

Hard boards start in the worst place

From any start, the cars can reach a few thousand to about 60,000 different layouts. On 41% of Master boards, the starting layout is as far from a solved board as any layout those cars can ever reach. In other words, the board was set up in the worst spot it has. On Easy boards it is 73%, because their few cars have fewer bad spots to start from.

The two hardest boards in the game need 32 moves each. Here is one of them.

A packed Traffic Jam board with 14 cars, two of them trucks, that needs 32 moves; from this start the cars can reach 12,639 layouts and 576 of them have the red car out

From this start the cars can reach 12,639 layouts. Only 576 of them have the red car at the exit, and the closest of those is 32 moves away.

Tips for solving Rush Hour

  • Work backward from the exit. Find the car in front of the red car, decide which way it must go, then find what is stopping it. Solve the chain from the far end.
  • Decide where each blocker has to end up. An upright car in the red car's row must end up fully above or fully below that row. If it is a truck, it can only get clear by going all the way down or all the way up. That narrows things fast.
  • Slide all the way unless you have a reason not to. Most good moves push a car to a wall or to another car. Stopping halfway is right only when that half square is exactly what another car needs.
  • Do not count the cars in front of the red car. As the chart above shows, it does not tell you how hard the board is. Count how many cars must move before the first blocker can.
  • Use undo freely. Trying a line and taking it back costs nothing in Traffic Jam, and it is how most people find the long solves.
  • Count your moves. When you finish, compare with the fewest. If you used many more, play the same board again and look for the moves you could skip.

A little history

The sliding car puzzle is usually credited to Nob Yoshigahara, a Japanese puzzle designer. The American company Binary Arts, later called ThinkFun, began selling it as Rush Hour in 1996, with a plastic grid and a deck of challenge cards that go from beginner to expert. Phone versions followed, some with wooden blocks in place of cars, and Unblock Me became one of the best known.

Mathematicians have studied the puzzle too. On bigger and bigger boards it gets about as hard as a puzzle can be for a computer, a result proved in 2002 (the term is PSPACE-complete). On the normal 6 by 6 board, computer searches of every possible layout have found starts that need 51 moves, longer than any board in Traffic Jam.

Play Traffic Jam free

This is Traffic Jam from Game Attic, the same game as on the full site, set to Easy. Drag a car to slide it, or tap one end to send it as far as it goes that way. The red car leaves when it reaches the gap in the right wall. Undo and Hint are both free here. Use the level buttons along the top to switch between Easy, Medium, Hard, Very Hard and Master, or press New game for a fresh board.

Loading the game…

For the full screen version, which keeps your wins and the level you last picked, play Traffic Jam in Game Attic. It is free in your browser, with no download and no sign-up. If you like this kind of puzzle, try the classic sliding tile puzzle, or browse more brain training and logic games.

Questions people ask

How do you play Rush Hour step by step?

Cars and trucks sit on a 6 by 6 grid. Each one slides only along its own length: cars lying across go left and right, upright cars go up and down. Slide cars out of the way until the red car can drive out through the exit on the right side. A move is one car slid any distance, and the aim is to use as few moves as possible.

Does sliding a car several squares count as one move?

Yes. In Rush Hour, Unblock Me and Traffic Jam, one car slid any distance in one go is one move, whether it goes one square or four.

Can cars turn or jump over each other?

No. A car only slides forward and back in a straight line, and it stops when it meets another car or the wall.

What is the hardest Rush Hour puzzle?

The hardest boards in Traffic Jam need 32 moves. Computer searches of every possible 6 by 6 layout have found starts that need 51 moves.

Is there a trick to solving Rush Hour?

Work backward. Start with the car in front of the red car, work out where it has to go, then find the car stopping it from getting there, and keep going until you reach a car that is free to move. Counting the cars in front of the red car does not help: in our tests it said nothing about how hard a board was.

Can I play Rush Hour online for free?

Yes. Traffic Jam in Game Attic plays the same way, free in your browser, with 300 boards on each of five levels from Easy to Master.

How we worked it out

The rules and boards come from Traffic Jam in Game Attic. Each of its 1,500 boards (300 per level) was loaded into our own solver, which uses a breadth first search: it tries every move from the start, then every move from those layouts, and so on, so the fewest moves it finds are exact. For every board it also listed every layout the cars could reach and the distance from each one to a solved board. The numbers in this post, including the cars in front of the red car, the good first moves and the starting layouts, come from that run. The 51 move figure for all possible boards comes from published computer searches, not from our own run.

Game Attic and its Traffic Jam are made by Logic Loft Games and are not connected with Rush Hour, ThinkFun or Unblock Me.

By Tim Nye, Logic Loft Games

Share this post