Puzzhive

Spatial puzzle

Sliding Block Puzzle: Clear the Way for the Red Block

Play a free sliding block puzzle game online: slide the blocks aside and get the red block to the exit. 400 boards, Easy to Expert, daily puzzles, hints.

Sliding Block

Slide the blocks out of the way and get the red block to the exit.

Setting up the board…
0 comments

How it plays

A sliding block puzzle is a board packed with blocks that slide along their own lanes, and one block that has to get out. Here the board is 6 × 6, the blocks are two or three squares long, and the red block leaves through the exit on the right-hand edge once you have slid the others out of its way. Play this sliding block puzzle game free in your browser: 400 boards in four levels from Easy to Expert, each shown with the fewest moves that solve it, plus a daily board for every level.

How to play

Choose a level with the buttons above the board: Easy, Medium, Hard or Expert. The first time, each level opens on today's board, and the list under the level buttons lets you pick any other board of that level. Then:

  • Drag a block to slide it. A block that lies across the board moves left and right, and an upright block moves up and down. It follows your finger or mouse as far as the squares ahead of it are empty, and settles on the nearest square when you let go.
  • Read the blocks. Green blocks lie across and amber blocks stand upright, and the two small arrows on each one point the ways it can slide. The red block, with a single arrow pointing right, is the one that has to leave.
  • Get the red block to the exit, the gap in the frame at the right-hand end of the third row, marked with a red arrow. When the red block reaches the right-hand edge it slides out and the board is solved.

Moves counts your slides, and Fewest possible under the board is the smallest number of moves that solves it. Undo takes back your last move, a hint included. Hint makes the next move of a shortest way out from where the blocks are now, and says how many moves are left after it. Restart puts every block back where it started, and asks first if the board is unfinished and you have made moves. When the board is solved, the message gives your moves next to the fewest possible, and Next puzzle opens the next board of the level.

On a computer, press Tab to move from block to block. The arrow keys along a block's lane slide it one square, and several presses in a row still count as one move. The other two arrow keys jump to the nearest block in that direction, and U undoes.

Rules

  1. The board is 6 × 6. Every block is one square wide and two or three squares long.
  2. A block slides only along its own length: a block lying across moves left and right in its row, and an upright block moves up and down in its column. Blocks never turn and never change lanes.
  3. A block can slide over any number of empty squares in one go. It cannot pass through or jump over another block, and only the red block can leave the board.
  4. The red block is two squares long and lies in the third row. The exit is at the right-hand end of that row, and the board is solved when the red block reaches the right-hand edge.
  5. One slide of one block is one move, however far it goes. Sliding the same block again straight away is still the same move, and sliding it back to where that move began takes the move off the count. A move made by Hint always counts as a move of its own.

Tips and strategy

Work back from the exit. Look along the third row from the red block to the exit. Every block in the way stands upright, because no other block lies across in that row. Each of them has to move up or down until it no longer covers the row.

Know where a blocker can go. An upright block three squares long clears the third row in one place only: at the very bottom of its column. A two-square one has a choice, the top of its column or anywhere below the third row. Check which of those is open before you start moving things.

Ask what blocks the blocker. If a blocker cannot move yet, find the block that stops it and ask the same question about that one. Follow the chain until you reach a block that can slide now. That is usually your first move.

Slide far enough the first time. A long slide costs the same one move as a short one. When a block has to get out of two other blocks' way, slide it past both in a single move.

Try things. Sliding a block and sliding it straight back costs nothing, so you can test whether a move opens anything before you commit to it.

On Hard and Expert, expect to undo your own work. These boards take more moves than they have blocks, so some block always has to move more than once: it steps aside, something passes, and it comes back or moves on.

About these sliding block boards

All 400 boards were made for Puzzhive by a program, and none is taken from a published set. For each one, the red block was placed in the third row and up to 12 more blocks, each two or three squares long, were dropped on the board at random. The program then listed every position that can be reached from that layout by sliding blocks, worked out for each position the fewest moves that get the red block to the exit, and kept the position that needs the most. A layout was thrown away if the red block could never get out, if any block could never move, if it had fewer than 7 blocks, or if more than 150,000 positions could be reached from it.

That number of moves sets the level: 6 to 9 moves is Easy, 10 to 14 Medium, 15 to 20 Hard and 21 or more Expert, where the longest board takes 37. Each level was filled with the first 100 boards that fell into it, then sorted from fewer moves to more, so No. 1 of a level is among its shortest and No. 100 its longest. A second program, written separately from the game and from the generator, solved all 400 boards again and arrived at the same numbers.

FAQ

What is a sliding block puzzle?

A sliding block puzzle is a board packed with blocks that can slide but cannot be lifted, and a goal that only works if you move them in the right order. In this one the board is 6 × 6, every block is two or three squares long and slides only along its own length, and the goal is to get the red block out through the exit on the right-hand edge. The other blocks are in its way, and most of them are in each other's way too.

How do you solve a sliding block puzzle?

Start at the exit and work backwards. See which blocks stand between the red block and the exit, then what stops each of those from leaving the row, and keep going until you reach a block that can move now. On these boards every block in the red block's way stands upright, because no other block lies across in the exit row, so each one has to go up or down far enough to clear that row. Every Hard and Expert board takes more moves than it has blocks, so at least one block has to move more than once.

What counts as a move?

One slide of one block, however far it goes. If you slide the same block again straight away, that is still the same move, and if you slide it back to where that move began, the move comes off the count. So trying a slide and taking it back costs nothing. A move made by Hint always counts as a move of its own.

How many sliding block boards are there, and how hard are they?

There are 400 boards, 100 at each of four levels. The level is set by the fewest moves that solve the board: 6 to 9 for Easy, 10 to 14 for Medium, 15 to 20 for Hard and 21 to 37 for Expert. Four Expert boards take 30 moves or more, and the longest, Expert No. 100, takes 37. Inside a level the boards run from fewer moves to more. Every board has between 7 and 13 blocks, the red one included, and Expert boards have at least 10.

What does Fewest possible mean?

It is the smallest number of moves that gets the red block out from the starting position, counting one slide of one block as one move. A program found it by going through every position the blocks can reach, so no shorter solution exists. If you match it without a hint, the board gets a star in the puzzle list. Any other solve gets a tick.

Can I get stuck in a sliding block puzzle?

No. Any slide can be taken back by sliding the same block the other way, so nothing you do closes the board off: from every position you can reach, the red block can still get out. If you have lost the thread, Undo goes back one move at a time, Restart puts every block back where it started, and Hint makes the next move for you.

What does Hint do?

Hint makes one move for you: the first move of a shortest way out from where the blocks are now, not from the start. The message under the board then says how many more moves are needed. A hint counts as a move and is named in the result, and a board solved with a hint gets a tick rather than a star. Undo takes the hint's move back, but the hint still counts.

Is there a daily sliding block puzzle?

Yes, one for each level. It is marked Today in the puzzle list and changes at midnight UTC. Each day's board is picked from all 100 boards of its level, so a board can come round again. You can play any other board at any time from the list.

Is this the same as a slide puzzle or Klotski?

No. A slide puzzle has square tiles and one empty space, and you put the tiles in order. Klotski has blocks of several shapes that may move in any direction that is free. Here every block is a straight bar that keeps to its own row or column, and the goal is to get one block off the board.

Do I need to download anything, and is my progress saved?

There is nothing to download and no account to make: the game runs in the browser on a computer, tablet or phone. Progress is saved in this browser on this device. Every board keeps its position, move count and hint count, an unfinished board also keeps its recent undo steps, and solved boards stay marked in the list. A level opens on the board you were last playing; if you have solved it, it opens on today's board instead. There is no clock.

More puzzles

Sliding Block is about making room in a crowded space, where the order of the moves is everything. Sokoban and Tower of Hanoi ask for the same kind of planning. If you were looking for tiles to slide into order around one empty space, that is the Slide Puzzle, and if you wanted to fit shapes onto a grid and clear full lines, that is Block Puzzle. You can also see all games.

Players’ notes

Stuck on a board, or found a trick worth sharing? Leave a note. No account needed.

No notes yet. Yours would be the first.