Sokoban — Classic Push the Box Warehouse Puzzle Game

Play Sokoban free in your browser. Push every crate onto its target across 20 warehouse puzzles — you can push but never pull, so plan ahead.

#logic #classic #single-player

How to play

Arrow keys, on-screen D-pad or swipe to move. Push crates onto the green targets. Undo and reset anytime.

About Sokoban — Classic Push the Box Warehouse Puzzle Game

Sokoban is one of the oldest and most respected puzzle games ever made — a quiet warehouse, a worker, and a handful of crates that must each end up on a marked target square. The rules could not be simpler: you walk one square at a time, and when you walk into a crate you push it. That is the whole game. The depth comes from one unforgiving restriction.

You can push, but you can never pull. Push a crate into a corner and it stays there forever; shove it flat against a wall with no target along that wall and the level is quietly lost. There is no timer and no luck — every mistake is your own, and every solution is a small proof that you saw the warehouse clearly. Good players think several pushes ahead, deciding the order to move crates long before they touch the first one.

This version of Sokoban runs free in your browser on wugames.io with twenty hand-tuned levels, from gentle single-crate rooms to dense five-crate warehouses. Every level was generated and then verified by a solver, so a solution always exists. Play with arrow keys, an on-screen D-pad or simple swipes, undo any move instantly, and your progress is saved so you can continue anytime.

Tips & Strategy

  • Never push a crate into a corner unless that corner is its target. A cornered crate can never move again and the level is lost.
  • A crate pushed flat against a wall can only slide along that wall. If there is no target on that wall, you have made a dead end.
  • Plan the order of crates before you move. Some crates block the path others need, so the last crate you solve is often the one nearest an exit.
  • Look at each target and work backwards: from which direction must a crate arrive, and is there room for you to stand and push it there?
  • Keep lanes open. Pushing one crate across a doorway can trap another crate — or trap yourself — on the wrong side.
  • Use Undo freely. Sokoban is about thinking, not memory, so reversing a bad push costs you nothing.
  • If a level feels impossible, reset it and re-read the room. A fresh start often reveals the one crate that must move first.

Frequently Asked Questions

How do you play Sokoban?

You control a worker in a warehouse. Walk into a crate to push it one square. Push every crate onto a green target square to clear the level. You can only push — never pull.

Why can't I move a crate anymore?

You can only push crates, so a crate against a wall or in a corner with no crate behind it cannot be pushed in that direction. If it is stuck and not on a target, undo or reset the level.

Can I undo a mistake?

Yes. The undo button steps back one move at a time through your whole history, and the reset button returns the level to its starting layout. Use them as much as you like.

Are all the levels solvable?

Yes. Every one of the twenty levels was generated by reversing valid moves and then re-checked by a solver, so a complete solution is always guaranteed to exist.

How do I play Sokoban on mobile?

Use the on-screen direction pad at the bottom of the screen, or swipe in any direction on the board — one swipe moves the worker one square.

Is my progress saved?

Yes. Your current level and the exact position of every crate and the worker are stored in your browser, so you can close the tab and continue later.

Is Sokoban free to play?

Yes, Sokoban is completely free on wugames.io. There is no download, no account and no install — it loads instantly in your browser.