Sokoban

Games

About this app

The classic warehouse puzzle, built with pure React (no game engine). Top-down warehouse with wooden crates. How to play Push every crate onto a marked spot (yellow ring). Crates on a spot turn green. You can push one crate at a time, but you can't pull, so a crate pushed into a corner is stuck. Undo and restart are always there. Keyboard: arrow keys or WASD move · U, Z, Backspace or Ctrl+Z undo · R restart · Enter goes to the next level after a solve · Esc goes back to the level list. Mouse or touch: click or tap a floor tile to walk there, tap a crate next to you to push it, or swipe on the board to take one step. Phones also get an on-screen arrow pad.

Features

  • 20 original levels that get harder, from 2 crates to 5. Each one is proven solvable by the built-in solver (see the tests).
  • Levels unlock in order.
  • Best moves and best pushes saved per level (tracked separately), shown on the level list.
  • Undo (a walk to a tapped tile undoes in one go) and restart (which can be undone too).
  • Progress is saved in localStorage.
  • Stats: levels solved, solves, average moves and pushes, and undos. Reset stats clears them after a Yes / No confirmation, and keeps your best moves and pushes and unlocked levels.
  • Sound effects made with the Web Audio API (steps, pushes, a crate reaching its spot, bumping into a wall, undo and solved), with a 🔊 toggle.
  • Settings: theme (same as the device, light concrete or the dark warehouse), and sound on or off, saved in localStorage. Stats, Settings and the sound toggle are on the level list.

This application can

Show its own pages, and nothing more

Ratings and reviews

0.0
0 review(s)
Only registered users can write reviews