· 4 min read
How to Play Sokoban, the Classic Box-Pushing Puzzle
Heshan Fernando
Co-founder & COO
Sokoban — the Japanese word for “warehouse keeper” — is one of the most enduring logic puzzle formats precisely because its rules are dead simple to explain and genuinely hard to master: push crates onto marked target tiles, one push at a time, and you can never pull a crate back once it’s pushed. That single restriction — pushing only, no pulling — is what makes the puzzle genuinely challenging, since a single careless push can permanently wedge a crate into a corner it can never leave, forcing you to restart the level.
The puzzle’s appeal is that it rewards planning ahead rather than trial and error — a level that looks solvable by just pushing crates toward their targets usually isn’t, and working out the correct sequence of moves before committing to them is the actual skill the game is testing.
What playing Sokoban actually involves
Each level places a player character, several crates, and an equal number of target tiles in a warehouse-style grid, with walls creating the puzzle’s actual structure. The goal is pushing every crate onto a target tile using only forward pushes — the player can walk around freely, but a crate only moves when the player walks directly into it from the opposite direction of where it needs to go. Since crates can’t be pulled, planning the correct push order and positioning before committing to moves is what actually solves harder levels, rather than relying on undoing mistakes.
Why people get stuck here
- Pushing a crate into a corner or against a wall with no way to recover it. Since crates can only be pushed, not pulled, a crate stuck against two walls in a corner (where it can’t be pushed in either remaining direction) permanently blocks that level from being solved without a restart.
- Not planning the full push sequence before starting. Sokoban levels often require pushing crates in a very specific order, since pushing one crate first can block the path needed to reach another — working this out ahead of time, rather than reactively, is the actual puzzle-solving skill.
- Underestimating how much a single early move can affect the rest of the level. A seemingly harmless first push can quietly eliminate the only viable solution path, which isn’t always obvious until several moves later.
- Playing without an undo option and having to fully restart on a single mistake. Without move-by-move undo, a small early misstep means restarting the entire level from scratch rather than backing up just the mistaken move.
What a good Sokoban implementation looks like
Offers multiple difficulty levels
A range of levels from simple to genuinely challenging lets you build up puzzle-solving skill gradually rather than facing an overwhelming difficulty spike immediately.
Supports both keyboard and touch controls
Working smoothly on both desktop keyboard input and mobile touch controls means the game is playable comfortably regardless of device.
Makes crate and target positions clearly visible
A clean, readable grid layout matters more in Sokoban than in many puzzle games, since planning ahead depends on being able to clearly see the full board state at a glance.
Common mistakes to avoid
- Pushing crates reactively without planning several moves ahead, risking an unrecoverable dead-end position.
- Not recognizing corner and wall-adjacent danger zones where a crate can become permanently stuck.
- Rushing through easier levels without building the planning habit that harder levels genuinely require.
- Forgetting which crates still need to reach a target while focused on maneuvering just one into position.
- Restarting immediately after a mistake without first studying what went wrong, missing a chance to actually learn the level’s structure.
How to do it with Sokoban
Online Tool Store’s Sokoban runs entirely in your browser.
- Open the Sokoban tool.
- Choose a difficulty level to start with.
- Push crates onto target tiles using keyboard or touch controls, planning your moves ahead of time.
- Progress to harder levels as your planning skills improve.
Frequently asked questions
Why can’t I pull crates back in Sokoban?
The push-only restriction is the core mechanic that makes Sokoban a genuine planning puzzle rather than simple trial and error — if crates could be freely pulled back, most levels would become trivially solvable by just experimenting until something worked.
What’s the best strategy for harder levels?
Working backward from the target positions, or mentally tracing the full sequence of pushes needed before making any actual moves, tends to work better than pushing crates toward targets one at a time reactively — since an early push can quietly block the path needed for a later one.
Is Sokoban originally a video game?
Yes — Sokoban originated as a video game created in Japan in the early 1980s, and it’s since become a well-known genre of logic puzzle in its own right, with countless variations and level packs built around the same core push-only mechanic.
Final thought
Sokoban rewards thinking several moves ahead rather than reactive pushing — plan your full sequence before committing to a move, and even the harder levels become a satisfying logic exercise instead of a frustrating restart loop.