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.