Sokoban - A Brief HistorySokoban. A Japanese word for an addictive style of puzzle game that has you pushing boxes. A genre so popular it even crept into the Pokémon Game Boy classics. How did we get here?
I discovered Sokoban games through those early Game Boy experiences, but it wasn’t until I came across and started learning PuzzleScript that I truly became addicted to the idea, eventually leading to my own Sokoban-inspired game, Puzzledorf. I want to talk a bit about the history of Sokoban, the games it’s inspired, and what I’m doing with it now. |
What Is Sokoban?If you’ve ever pushed boxes around a grid to reach a goal, you’ve played Sokoban - whether you knew its name or not.
Sokoban (Japanese for “warehouse keeper”) began in the early 1980's as a pixel art puzzle game. You move crates through a top-down warehouse, pushing each one onto a target. The catch? You can only push, never pull - so a single wrong move can trap a crate and make the puzzle unsolvable. If you did get stuck (at least in the original) you had to restart the whole puzzle. Modern games are not quite so punishing, though. |
The Birth of Sokoban
|
Sokoban (“warehouse keeper”) was created in 1982 by Hiroyuki Imabayashi for the NEC PC-8801. The NEX was an early Japanese personal computer.
The NEC PC-8801 was a big deal in Japan’s computing history - a colorful, sound-capable home computer that became a hub for early PC gaming. It wasn’t just a business machine; it was a gateway for hobbyist programmers and game designers to experiment with new ideas. Why that machine? The PC-88 was affordable, programmable, and sitting in living rooms - not arcades - so small creators could experiment and share their work. Imabayashi even packaged and distributed early copies himself (on cassette), giving Sokoban a very “indie before indie” spirit. Because it ran on a standard home computer rather than a locked-down console, it was easy to port to other PCs and Western platforms - helping it quietly spread around the world and shape puzzle game design for decades. |
Why Sokoban Is Special
At first glance, Sokoban looks easy. A small room. A few crates. Plenty of floor space. But the magic is in the planning. Every move matters. Push the wrong block in the wrong order and you can trap yourself without even realizing it.
That’s why Sokoban has endured for over 40 years - it’s a pure test of logic, spatial reasoning, and foresight. It’s the kind of puzzle that makes you want to have one more try. There was, however, no undo in the original. If you made a mistake, you had to restart the whole level.
That’s why Sokoban has endured for over 40 years - it’s a pure test of logic, spatial reasoning, and foresight. It’s the kind of puzzle that makes you want to have one more try. There was, however, no undo in the original. If you made a mistake, you had to restart the whole level.
Where Difficulty Comes FromIn the original games, difficulty often rose by making levels larger and adding more boxes to move. That did raise the challenge, but the sheer size could feel overwhelming: where do you even begin? Some modern games follow the same path with difficulty, and some dance to a different tune, like Puzzledorf.
|
Games Inspired by SokobanOver the years, many games have borrowed the Sokoban formula - sometimes sticking closely to it, other times doing their own thing. Features were added like "Undo" if you made a mistake, counting the number of moves for high scores, and non-linear design.
|
PuzzleScript and Enduring LegacyOver the years, Sokoban’s influence has quietly grown among indie developers, thanks in part to tools like PuzzleScript — a free, open-source game engine designed for creating Sokoban-style puzzles and other grid-based games right in your browser. It’s text-based, but surprisingly easy to pick up, and powerful enough to build complex projects. The simple code and graphics make it possible to smash out puzzle ideas quickly and experiment.
I created dozens of small games with it, exploring what really makes a good puzzle. The most important lesson I learned was that more is not always better — often, less is more. That philosophy directly inspired my own game, Puzzledorf, which keeps Sokoban’s tight corridors but adds twists like different coloured target blocks and movable boulders that force you to rethink every move. Sokoban’s simple elegance still resonates today, and Puzzledorf is one example of how that legacy can evolve. Discover Puzzledorf here. |
See the game that Sokoban inspired - Puzzledorf
“Puzzledorf is a wonderful little puzzle game. It is simple yet elegant, and delivers its content beautifully.”
8.5 – Everyone's Arcade
8.5 – Everyone's Arcade