Sokoban game online is one of the most enduring logic puzzles in gaming history. You control a warehouse keeper who pushes boxes onto designated target squares inside a confined space. The critical rule — you can only push boxes, never pull them — transforms every level into a deeply satisfying planning challenge. One careless push can wedge a box into an unreachable corner, forcing a full restart. The game rewards careful forethought and spatial reasoning over quick reflexes.
Sokoban was created by Hiroyuki Imabayashi and published by Thinking Rabbit in Japan in 1982. It is one of the earliest commercially released puzzle video games, predating many genres that followed. The name translates to "warehouse keeper" in Japanese. The game spread internationally through ports to platforms including PC-88, MSX, and later DOS computers, and it became the foundation for an entire genre of box-pushing puzzle games. Thousands of community-created level sets exist today, making it one of the most extensively solved puzzle games ever made.
Controls
Arrow keys — Move the player up, down, left, right
WASD keys — Alternative directional movement
R key — Reset the current level to its starting position
On-screen D-pad — Touch and mouse controls for mobile devices
↺ (reset) button in D-pad — Reset the level without using the keyboard
How to Play Sokoban Game Online
Each sokoban game online level requires you to push all boxes (📦) onto every target square (⭕) to complete it.
Move the player: Use arrow keys, WASD, or the on-screen D-pad to walk the warehouse keeper in any of the four cardinal directions. The player cannot move through walls or boxes in blocked positions.
Push boxes by walking into them: When you walk into a box and the cell behind it is empty (not a wall and not another box), the box slides one step in the direction you are moving. You cannot push two boxes simultaneously, and you cannot push a box into a wall.
Reach the target squares: Target squares are marked with ⭕. When a box is pushed onto a target square, it turns green (✅) to confirm it is correctly placed. Push every box onto every target square to complete the level.
Think before you push: Before every push, visualise where the box will end up and whether it can still be moved to a target from that position. Corner traps — where a box is pushed into a corner with no target — are irreversible and force a reset.
Reset freely: Press R or the ↺ button whenever you get stuck. There is no penalty for resetting. The move counter records your total moves, but resetting clears it. Reset as many times as needed until you find the optimal solution path.
The level is complete when all boxes are placed on target squares and the success overlay appears.
Tips & Strategies for Sokoban Game Online
These techniques apply directly to the 10 levels in this sokoban game online collection.
Avoid corner traps immediately: The most common error in Sokoban is pushing a box into a corner where no target exists. Before each push, confirm the destination cell is not adjacent to two walls forming a corner. This single habit eliminates the majority of dead-end positions that require resets.
Plan the final push, not the first: Work backward from the target square to identify the push direction that will place the box correctly, then figure out how to get the box to the cell before the target. Planning from the goal backward prevents routing yourself into positions where the box cannot be approached from the right angle.
Manage your access routes: The player must be on the opposite side of the box from the push direction. Always confirm you have a clear access path to position yourself correctly before committing to a push sequence. If you push a box without this check, you may block your own access route.
Identify deadlock patterns early: Beyond corner traps, watch for edge deadlocks — where a box sits along a wall with no target on that wall segment — and two-box deadlocks where two boxes block each other against a wall. Recognising these patterns before they form lets you reroute proactively.
Use the move counter as a guide: After solving a level, note the move count. Try to beat it on a replay. Optimising for fewer moves forces deeper analysis and builds the planning instincts needed for later, more complex levels.
Skills You Develop Playing Sokoban Game Online
Sokoban game online develops planning depth and forward-thinking in a uniquely demanding way. Unlike puzzles with reversible actions, Sokoban's push-only mechanics mean every decision is consequential — there is no undo. This forces players to develop the habit of fully visualising move sequences before executing them, which is a core executive function skill with applications in chess, programming, and project management.
Spatial reasoning is exercised intensively as you mentally model box positions, access routes, and wall configurations simultaneously. Children playing Sokoban develop early systematic problem-solving approaches, while adults benefit from the meditative focus required to maintain awareness of the full board state. Research in educational gaming consistently identifies constraint-based puzzle games like Sokoban as effective tools for developing persistent, methodical thinking.
Frequently Asked Questions about Sokoban Game Online
Press the R key on your keyboard or tap the ↺ button in the on-screen D-pad to reset the level instantly to its original starting position. There is no undo for individual moves, so if you push a box into an unreachable corner, resetting is the only option. There is no penalty for resetting — treat it as part of the solving process and reset freely whenever you hit a dead end.
There are 10 handcrafted levels of increasing difficulty. Level 1 introduces the core push mechanic with a single box on a small grid. Later levels feature multiple boxes, tighter spaces, and more complex target arrangements. Use the level selector buttons at the top of the game to jump to any level directly, or advance automatically after completing each level.
The push-only rule is the defining design constraint of Sokoban and the source of almost all its difficulty. It means the player must approach every box from the correct side before pushing, and some positions — corners and walls without targets — become permanent dead ends. This single rule creates the game's vast strategic depth and makes even small puzzles surprisingly challenging to solve optimally.
A deadlock is a position where one or more boxes can no longer be pushed to any target square, making the level unsolvable without resetting. The most common deadlock is a corner deadlock — a box pushed into a corner where no target exists. Edge deadlocks occur when a box is against a wall with no target on that wall stretch. Recognising and avoiding these patterns is the most important Sokoban skill.
Yes — the game includes a fully functional on-screen D-pad with up, down, left, and right buttons as well as a reset button in the centre. The D-pad is designed for touch and mouse input. On mobile devices, the game layout scales responsively so the board and controls remain accessible without zooming. Tap the directional buttons to move the player exactly as you would use arrow keys on a keyboard.
Sokoban was created by Hiroyuki Imabayashi and published by Thinking Rabbit, a Japanese software company, in 1982. It was originally released for the PC-8801 and then ported widely across many platforms. It is one of the earliest examples of a commercially published puzzle video game and spawned an entire genre of box-pushing spatial puzzles that continue to be designed and played today.
This version of sokoban game online does not include an undo feature. If you make an incorrect push, you must either continue and see if the level is still solvable, or reset the entire level using the R key or ↺ button. The absence of undo is intentional — it is part of the original game design and encourages players to think carefully before each move rather than relying on correction.
Each level has a theoretical minimum move count — the fewest player steps and box pushes needed to reach the solved state. Finding the optimal solution for a Sokoban level is a computationally hard problem. This game tracks your total moves per level so you can try to reduce your count on replays. Experienced Sokoban solvers often spend considerable time optimising their solutions after first solving a level by any means.