Crate puzzle (Sokoban)

Push-the-crates warehouse puzzle with 36 own levels that grow harder, each checked with a solver that knows the fewest moves; unlimited undo and swipe controls.

🔒 Your data stays in your browser: nothing you type or upload is sent to a server.

How it works

Push every crate onto a target square. You can push but not pull, one crate at a time. The pack has 36 levels made for this site: they were built by reverse play from solved positions and then re-solved by an optimal A* solver, so each one is known to be solvable and its fewest-moves count is shown. Unlimited undo goes back one step at a time. Play with the arrows or WASD, swipe on the board, tap a square to walk there, or use the on-screen arrows. Progress per level and best move counts stay in this browser.

Common questions

Where do the levels come from?

They are original to NerdKnife and not copied from any published collection. A program generated candidate rooms by pulling crates away from the targets, an optimal solver re-solved each one, and the 36 shown here were picked and ordered by number of crates and length of the shortest solution. They are fair but not designed by hand, so expect a gentle-to-moderate climb rather than expert puzzles.

How is the minimum number of moves known?

A solver searches the push positions with A* and a lower bound that never overestimates, so the first solution it reaches has the fewest possible player moves. The number shown counts every step, pushes included.

Related tools