Klotski Sliding Block Puzzle
Slide the blocks to bring the big square out through the gap in as few moves as you can, with a new puzzle daily.
Drag a block, or tap it and then an empty cell. Keys: Tab or arrows pick a block, Enter holds it, arrows slide it (Shift for all the way), U undo, R restart, H hint.
Klotski plays at gamebreezy.com.
How to play
- Slide the blocks around until the big red square can leave through the gap in the middle of the bottom edge.
- Drag a block along a free line, or tap it and then an empty cell it can reach. A block slides any number of cells in a straight line, and that counts as one move.
- The number after your moves is the fewest the puzzle can be done in, found by a computer search: match it for a perfect solution.
- Undo takes a move back, Restart sets the blocks up again, and Hint shows the next move of a shortest way out from where you are.
- Pick Easy, Medium or Hard, or the traditional layout, and play the daily puzzle, the same for everyone. Keys: Tab or arrows pick a block, Enter holds it, arrows slide it.
More games
About Klotski
Klotski is a sliding block puzzle from the family that includes the old Chinese Huarong Dao. Ten or so blocks of four shapes crowd a small board, four cells wide and five tall, and one of them is the big red square. Your job is to work it down to the gap in the middle of the bottom edge and slide it out, using only the room the other blocks leave you.
Every puzzle here was checked by a computer search that tries every position it can reach, so each one can be solved, and the fewest possible moves is shown beside your own count. A new puzzle comes every day, the same for everyone, and you can play as many others as you like in between.
Klotski plays free in the browser on a computer, a tablet or a phone, with no download or sign-up.
How to play
Drag a block with a finger or the mouse. It follows along one line, stops at whatever stands in the way, and settles into the nearest cell when you let go. You can also tap a block and then tap an empty cell it can reach, marked with a dot. On a keyboard, Tab or the arrow keys pick a block, Enter holds it, and the arrow keys slide it one cell at a time, or all the way with Shift.
A block may slide as far as it likes in a straight line, and that counts as one move. Sliding the same block the same way again straight after is still the same move. Undo takes back the last move, and Restart sets the blocks up as they began.
Levels
Easy puzzles can be done in about ten to twenty-five moves, Medium puzzles in up to fifty, and Hard ones take fifty moves or more. The traditional layout, with the big square at the top, four upright blocks, a lying block and four singles, is the best known of all and takes ninety moves at the very least when each slide counts once.
Tips
Think about the empty cells, not the blocks. With only two or three of them, each move is really about moving an empty cell to where you want it, so aim to gather them in one place. Singles are the easiest to shuffle, and a lying block can often step aside to let the big square pass.
When you are stuck, Hint shows the next move of a shortest way out from where you are now. It works from any position, even after a few wrong turns.
Questions people ask
Can every puzzle be solved?
Yes. Each puzzle was checked by a search over every position it can reach, and the fewest moves shown is the true minimum.
How are moves counted?
One slide of one block is one move, however many cells it travels. Going round a corner takes two moves.
What is the traditional layout?
The classic start, with the big square at the top of the board. It is a Hard puzzle.
Is there a daily puzzle?
Yes, a new one every day, the same for everyone, of middle difficulty.
Is my game saved?
Yes, in this browser: a puzzle you leave halfway is there when you come back.