ASCII Sokoban
Push each crate onto a target square on a tight grid, where a crate can only be pushed, never pulled.
Loading Sokoban...
Controls
| Arrow keys or WASD | Walk one square, pushing a crate ahead of you if one is there. |
|---|---|
| Swipe | Walk one square, on a touch screen. |
| U or Z | Undo the last move. Press again to keep stepping back. |
| Space | Reset the current level to its opening position. |
| R | Restart the whole set from the first level. |
How to play
- You are the @ sign. Walk onto a crate to push it one square in the direction you are moving, provided the square beyond it is clear.
- A crate can only be pushed, never pulled, so a crate shoved into a corner or against the wrong wall is stuck there for the rest of the level.
- Press undo to take back a push whenever a line of play goes wrong, or reset to return the level to its opening if a crate is truly jammed.
- A level is solved when every crate sits on a target square. Clear the last level to finish the set, scored on your total moves.
About Sokoban
Sokoban is the purest planning puzzle there is. You push crates, one at a time, onto marked squares, and the single asymmetry in the rules is the whole game: you can push a crate but never pull it. That means a crate shoved into a corner, or flat against a wall it needed to come away from, is stuck for good, and the puzzle is lost long before you notice. Every move is really a decision about moves you have not made yet.
This version is a short run of handmade levels that build from a single push to a few that need a plan before you touch anything. Undo takes back a push as often as you like, so you can explore a line and retreat, and reset returns the current level to its opening if you have truly jammed it. Your best is the fewest total moves you have used to finish the whole set, kept in this browser.
Frequently asked questions
While you are here
BNS Data Tools
The same team builds a set of free, privacy-first data and developer utilities - formatters, converters, validators and calculators - that run in your browser the same way these games do.
Open BNS Data Tools