Klotski
Slide the blocks to free the big square through the exit.
How to play Klotski
Slide blocks into the empty spaces to rearrange the board. Your goal is to move the large ★ 2×2 block down to the exit at the bottom centre. Only one block moves at a time and blocks never rotate, so plan a path and clear it in as few moves as possible.
New here? Start on Easy: it can be solved in just 12 moves. Step up to Medium (30 moves) and Hard when you want the full classic Hua Rong Dao challenge, which needs 112 moves.
Cao Cao at the Huarong Pass
The Hard layout of this puzzle comes with a story attached. It is the celebrated Chinese puzzle Huarong Dao, the Huarong Pass, and it stages a scene from the epic Romance of the Three Kingdoms: after the Battle of Red Cliffs the defeated warlord Cao Cao, played by the large 2x2 block, flees through a mountain pass guarded by the loyal general Guan Yu, while generals and foot soldiers hem him in. Your job is to slide him out through the bottom of the board. The same layout traveled the world under different flags: France knows it as L'ane rouge, the red donkey, Japan as Hakoiri Musume, the daughter in the box, and the computer era in the West adopted Klotski, from a Polish word for little wooden blocks. Its cousin the 15-puzzle set off a genuine international craze in 1880, complete with cash prizes offered for an arrangement that turned out to be mathematically impossible. Sliding rectangles, it seems, have been ruining afternoons for a century and a half.
Think in gaps, not blocks
The only block that matters is the large one marked with a star, and it can only travel through space two cells wide. Every other block on the board exists to be shuffled aside so that space opens beneath it. The hard part is that the two empty cells are your entire workspace, so it helps to think about moving the gaps rather than the blocks: each slide is really you relocating an empty cell to where you need it next. Expect to move the big block sideways, and even upward, away from the exit before a clear path finally opens downward. Progress is rarely a straight march, and the players who fight that fact take three times as long as the ones who accept it.
Sliding-block tactics
Long solutions are not random; they are built from a handful of manoeuvres repeated in cycles.
- Track the two empty cells and plan how to bring them together directly below the big block, since it needs both to descend.
- Keep the single 1x1 blocks mobile: they are the grease that lets you rotate pieces around tight corners.
- Watch the horizontal 1x2 block in particular, because parking it in the wrong place is a common way to deadlock the whole board.
- Learn to recognise repeating shuffle patterns; once you spot a cycle that advances the position, you can lean on it again.
- On Hard, do not brute-force it. Count your moves and aim toward the known minimum rather than wandering.
How the moves are counted
You will meet two numbers for the classic board, and both are right. Older puzzle books usually quote 81 moves, counting every slide of one block as a single move however far it travels, even around a corner. This version counts each one-cell step separately, which is stricter, and by that count the full Huarong Dao layout needs a minimum of 112 moves. The difficulty tiers are tuned the same way: Easy can be solved in just 12 steps and Medium in 30, so the jump to Hard is genuinely large. If you are new, clear Easy a couple of times to feel how the gaps flow, then use Medium to practise moving the star block away from the exit on purpose. Treat the counter as your score: matching the minimum on Easy is a satisfying first goal, and shaving even ten moves off your best Hard run means your routing genuinely improved.
Waypoints, cycles, and why it is honestly hard
A long solution is not one continuous insight; it is a chain of small subgoals. Instead of staring at the exit, set waypoints: get the two empties side by side, walk them around the board to below the star block, rotate the vertical blocks out of the lane, repeat. Between waypoints you will notice the same little carousel of moves recurring, three or four blocks turning around a corner like gears. Once you can run a carousel without thinking, the 112-step solution stops feeling like 112 decisions and starts feeling like a dozen. And if it comforts you, the difficulty is certified: the mathematicians Robert Hearn and Erik Demaine proved that sliding-block puzzles in general are PSPACE-complete, a formal way of saying no clever formula exists and even computers must search. You are not missing an obvious trick. There is no obvious trick, only good bookkeeping, which is exactly why finishing the classic board feels so unreasonably satisfying.
Klotski leaderboard
Top scores. Log in to compete.
- Loading leaderboard…
Klotski: frequently asked questions
How do I move a block?
Click a block and then an adjacent empty space, or drag it. Blocks slide only into open cells, staying upright.
Is Klotski hard? Which level should I start on?
Start on Easy: it is designed to be solved in about 12 moves, so anyone can finish it. Medium takes around 30 moves, and Hard is the traditional Hua Rong Dao puzzle that needs 112 moves to crack.
What makes a good score?
Fewer moves. Your Best records the smallest number of moves you used to free the big block, tracked separately for each difficulty.
How does the large block escape?
It slides out through the exit at the bottom centre, but only once two cells directly beneath it are empty, since the block is two cells wide. Everything you do is really about clearing and lining up that two-wide gap below the star block.
Why do I sometimes have to move the big block away from the exit?
Because the small blocks around it need somewhere to go, and often the only way to reposition them is to shift the big block up or sideways first. Klotski solutions are not monotonic: you frequently retreat in order to advance.
How many moves does the classic board take?
In this version the full Huarong Dao layout (Hard) needs a minimum of 112 single-cell moves. Older books quote 81 by counting a slide of any length as one move. Easy is tuned to 12 moves and Medium to 30, so you can build up to the famous puzzle gradually.
What is the core trick to sliding-block puzzles?
Focus on the empty spaces rather than the blocks. There are only two gaps, and every move is a way of walking one of them to a new spot. Planning how to route the gaps around the board is far easier than tracking every block at once.
Does this puzzle have other names?
Many. The classic layout is Huarong Dao in China, L'ane rouge (the red donkey) in France, and Hakoiri Musume (the daughter in the box) in Japan. Klotski, from a Polish word for wooden blocks, became the standard computer-era name in the West.
Where does the name Klotski come from?
It derives from the Polish word klocki, meaning little wooden blocks. The puzzle spread internationally as a computer game under that name, while its most famous single layout keeps the older Chinese title Huarong Dao.
Is Klotski free to play?
Yes. Klotski is completely free on Inkplay, with no download, no sign-up, and no in-game purchases. Open the page and play instantly on desktop or mobile.
Can I play Klotski unblocked?
Yes. Klotski runs entirely in your browser with no download, install, or plugins, so it loads instantly and keeps working even on school or work networks where bigger game sites get blocked.
More games to play
In the mood for more? Try 2048, Memory Match, Lights Out, Minesweeper, or browse all puzzle games and the full games list on Inkplay.