Games that play in your browser — phone or desktop.

Games » Sokoban

Sokoban

By Classic box-pushing puzzle, seven levels, full undo · 2024

Play:

Touch: An on-screen 8-way d-pad appears after your first touch, with separate undo and restart buttons · Keyboard: Arrow keys or WASD to move, Z or U to undo, R to restart

About:

A faithful LittleJS implementation of classic Sokoban rules across seven hand-designed levels, with full undo and instant restart. The shipped build was missing a viewport meta tag that broke touch coordinates on phones; this was fixed before shelving and touch movement in all four directions was verified against live move/push counters.

Credits:

Made by Classic box-pushing puzzle, seven levels, full undo, 2024. Published here under the MIT licence. Source code.

Phone check: 2026-09-07: fixed a missing <meta name=viewport> in the served build (caused a desktop-simulation layout that broke touch coordinates on phone), then confirmed all four d-pad directions and pushing a crate onto a target work correctly by touch (390x844 CDP touch dispatch) and by mouse+keyboard on desktop, reading live move/push counters, not just screenshots.

Rate this game:

One vote per game each month.

Play next:

Forever Wonder Colour A one-screen Sokoban where time itself is a puzzle piece. Discover the secret of the Wonder Colour to leave the cave.
0h h1 Fill the grid with red and blue: no three in a row, equal counts per line, no two lines alike.
0h n0 0h h1's companion: every blue number counts exactly the blue dots it can see.
2048 Slide tiles to combine matching numbers and reach the 2048 tile.