Online Tool Store Online Tool Store

Sokoban

Play the classic Sokoban warehouse puzzle in your browser, pushing crates onto target tiles across multiple difficulty levels with keyboard and touch controls.

🔒 This tool runs entirely in your browser. Your files are never uploaded to a server.

Classic Sokoban Box-Pushing Puzzle

Push all crates onto the storage target dots. Use Arrow keys, WASD, or on-screen buttons.

Moves: 0 Pushes: 0

Legend

🧑 Keeper | 📦 Crate | 🎯 Target Dot | 🧱 Solid Wall

Golden Rule

Crates can only be pushed, never pulled. Avoid pushing crates into dead-end corners!

Controls

Keyboard Arrow Keys or W / A / S / D. On mobile, use the on-screen buttons.

How it works

  1. Select a puzzle difficulty level (Level 1 Easy Intro, Level 2 Warehouse Squeeze, or Level 3 Four Corners).
  2. Control the warehouse keeper using Arrow keys, WASD, or the mobile on-screen directional pad.
  3. Push crates (📦) strategically across floor tiles onto matching target storage dots (🎯).
  4. Plan your path carefully to avoid pushing boxes into unmovable corner deadlocks.

FAQ

What is Sokoban?

Sokoban (Japanese for "warehouse keeper") is a classic transport puzzle video game invented by Hiroyuki Imabayashi in 1981 where the player pushes crates around a warehouse labyrinth onto designated target storage locations.

Why is Sokoban famous in computer science and AI?

Sokoban is computationally PSPACE-complete. Because boxes can only be pushed and never pulled, a single wrong move can permanently lock the board into an unwinnable deadlock state, making it a classic benchmark for AI search and heuristic planning algorithms.

What are the main causes of deadlocks in Sokoban?

A corner deadlock occurs when a box is pushed into an interior non-target corner formed by two adjacent walls. Line deadlocks occur when two adjacent boxes are stuck along a continuous wall without targets.

How do you control the keeper in this browser version?

Use the standard keyboard Arrow keys, WASD keys, or the on-screen directional touch pad on mobile devices.

How we compare

Feature Online Tool Store Retro game emulators Flash game archives
Pure lightweight zero-dependency web canvas ✗ (Heavy ROM loading) ✗ (Deprecated plugins)
Keyboard (WASD/Arrows) & Mobile Touch D-Pad Partial
Move and Push counter analytics Partial

Explore related tools

Embed this tool

Paste this on your own site — it stays free, and every file still stays in your visitor's browser, not yours or ours.