Sokoban
Template:Short description Template:Use mdy dates Template:Infobox video game series Template:Nihongo foot is a puzzle video game in which the player pushes boxes around in a warehouse, trying to get them to storage locations. The game was designed in 1981 by Hiroyuki Imabayashi and first published in Japan in 1982 by his company Thinking Rabbit for the NEC PC-8801 computer. It was later ported to various platforms and followed by new titles. It became popular in Japan and internationally, inspiring unofficial versions, a subgenre of box-pushing puzzle games, and artificial intelligence research.
Gameplay
The warehouse is a grid composed of floor squares and impassable wall squares. Some floor squares contain a box and some are marked as storage locations. The number of boxes equals the number of storage locations.
The player, often represented as a worker character, can move one square at a time horizontally or vertically onto empty floor squares, but cannot pass through walls or boxes.
To move a box, the player walks up to it and pushes it to an empty square directly beyond the box. Boxes cannot be pushed to squares with walls or other boxes, and they cannot be pulled.
The puzzle is solved when all boxes are on storage locations.
Progressing through the game requires careful planning and precise maneuvering.[1] A single mistake, such as pushing a box into a corner or obstructing the path of others, can render the puzzle unsolvable, forcing the player to backtrack or restart. Anticipating the consequences of each push and considering the overall layout of the puzzle are crucial to avoid deadlocks and complete the puzzle successfully.[2]
History
Sokoban was created in 1981 by Hiroyuki Imabayashi.[3][4][5] The first commercial game was published for the NEC PC-8801 computer in December 1982 by his company, Thinking Rabbit, based in Takarazuka, Japan. Ports and new titles for various platforms appeared in subsequent years. In 1988, Spectrum HoloByte published Sokoban in the U.S. for the IBM PC, Commodore 64, and Apple II as Soko-Ban.[6] In 1990, FCI released Boxxle for the Game Boy in both North America and Europe,[7] followed by Boxxle II in 1992.[8] Between 1996 and 2000, several Sokoban games were released for Windows and PlayStation in Japan.[9] In 2001, the Japanese software company Falcon acquired the trademarks for Sokoban and Thinking Rabbit. Since then, Falcon has continued to develop and license official Sokoban games.
Versions
Since its debut in 1982, Sokoban has been released on various platforms, primarily in Japan but also in other regions. Most titles are independent without a continuous narrative or unified series, though a few are direct sequels to a specific earlier release—for example, Sokoban 2 (1984) follows Sokoban (1982), and Soko-ban Revenge (1991) is a sequel to Soko-ban Perfect (1989). The following table lists a selection of official Sokoban titles.[10]
| Year | Title | Country | Platform | Publisher |
|---|---|---|---|---|
| 1982 | Script error: No such module "Nihongo".[11][12] | Japan | NEC PC-8801 | Thinking Rabbit |
| 1983 | Script error: No such module "Nihongo".[13] | Japan | NEC PC-8801 | Template:Ill |
| 1984 | Script error: No such module "Nihongo".[14] | Japan | NEC PC-8801 | Thinking Rabbit |
| 1986 | Script error: No such module "Nihongo". | Japan | Famicom Disk System | ASCII |
| 1988 | Soko-Ban[15] | US | IBM PC, XT, and AT | Spectrum HoloByte |
| 1989 | Script error: No such module "Nihongo". | Japan | NEC PC-9801 | Thinking Rabbit |
| 1990 | Boxyboy | US | TurboGrafx-16 | NEC |
| 1991 | Script error: No such module "Nihongo". | Japan | NEC PC-9801 | Thinking Rabbit |
| 2016 | Script error: No such module "Nihongo". | International | Android, iOS | Thinking Rabbit |
| 2018 | Script error: No such module "Nihongo". | Japan | Windows | Thinking Rabbit |
| 2021 | The Sokoban | International | Nintendo Switch, PlayStation 4 | Unbalance |
Reception
By June 1984, the original Sokoban had sold 22,000 copies in Japan;[16] by March 1985, it had reached 30,000 copies.[17]
Sokoban was a hit in Japan, selling over 400,000 copies before being released in the United States.[18]
The 1988 American release, Soko-Ban, received a positive review from Computer Gaming World, which described the game as simple yet mentally challenging, and praised its addictive nature.[19]
Legacy
Cultural impact
An active fan community has produced thousands of custom puzzles,[20] unofficial versions,[21][22] and software tools, including puzzle editors, solvers, and solution optimizers.[23]
Derivatives
Sokoban is considered the originator of a puzzle game subgenre featuring box-pushing mechanics, commonly referred to as "Sokoban-like" games.[24][25]
- Alternative tilings: While Sokoban is played on a square grid, its fundamental rules are, in principle, applicable to boards with other tilings. Hexoban[26] exemplifies this, utilizing regular hexagons.
- Multiple pushers: In the variant Multiban,[27] the puzzle contains more than one pusher. In the game Sokoboxes Duo,[28] strictly two pushers collaborate to solve the puzzle.
- Designated storage locations: In Sokomind Plus,[29] some boxes and target squares are uniquely numbered. In Block-o-Mania,[30] the boxes have different colours, and the goal is to push them onto squares with matching colours.
- Alternative game objectives: Several variants feature different objectives from the traditional Sokoban gameplay. For instance, in Interlock[31] and Sokolor,[32] the boxes have different colours, and the objective is to move them so that similarly coloured boxes are adjacent. In CyberBox,[33] each puzzle has a designated exit square, and the objective is to reach that exit by pushing boxes, potentially more than one simultaneously. In a variant called Beanstalk[34], the objective is to push the elements of the puzzle onto a target square in a fixed sequence.
- Additional game elements: Push Crate, Sokonex,[35] Xsok, CyberBox,[36] and Block-o-Mania,[37] all add new elements to the basic puzzle. Examples include holes, teleports, moving blocks and one-way passages.
- Character actions: In Pukoban,[38] the character can pull boxes in addition to pushing them.
- Reverse mode: Some Sokoban programs allow players to play a puzzle backward. This approach can help players better understand the puzzle structure and develop effective solving strategies. Starting with all boxes on storage locations, the player pulls the boxes to return to the initial puzzle state. Solutions found this way solve the standard puzzle when both the order and the direction of the moves are reversed.[39]
Computer science research
Sokoban has been studied using the theory of computational complexity. The computational problem of solving Sokoban puzzles was first shown to be NP-hard.[40][41] Further work proved it is also PSPACE-complete.[42][43]
Solving non-trivial Sokoban puzzles is difficult for computers because of the high branching factor (many legal pushes at each turn) and the large search depth (many pushes needed to reach a solution).[44][45] Even small puzzles can require lengthy solutions.[46]
The Sokoban game provides a challenging testbed for developing and evaluating planning techniques.[47] The first documented automated solver, Rolling Stone, was developed at the University of Alberta. It employed a conventional search algorithm enhanced with domain-specific techniques such as deadlock detection.[48][49] A later solver, Festival, introduced the FESS search algorithm and became the first automatic system to solve all 90 puzzles in the widely used XSokoban test suite.[50][51] Despite these advances, even the most sophisticated solvers cannot solve many highly complex puzzles that humans can solve with time and effort, using their ability to plan ahead, recognize patterns, and reason about long-term consequences.[52][53][54]
See also
Script error: No such module "Portal".
Notes
References
External links
- Official Sokoban site (in Japanese)
- The University of Alberta Sokoban page
- ↑ Template:Cite magazine
- ↑ Script error: No such module "citation/CS1".
- ↑ Template:Cite magazine
- ↑ Script error: No such module "citation/CS1".
- ↑ Script error: No such module "citation/CS1".
- ↑ Script error: No such module "citation/CS1".
- ↑ Template:Cite magazine
- ↑ Template:Cite magazine
- ↑ Script error: No such module "citation/CS1".
- ↑ Script error: No such module "citation/CS1".
- ↑ Template:Cite magazine
- ↑ Template:Cite magazine: scored the game 94 points out of 100.
- ↑ Template:Cite magazine
- ↑ Template:Cite magazine
- ↑ Template:Cite magazine: reviewers rated the game <templatestyles src="Fraction/styles.css" />4+1⁄2 out of 5 stars.
- ↑ Template:Cite magazine
- ↑ Template:Cite magazine
- ↑ Template:Cite magazine
- ↑ Template:Cite magazine
- ↑ Script error: No such module "Citation/CS1".
- ↑ Script error: No such module "citation/CS1".
- ↑ Script error: No such module "citation/CS1".
- ↑ Script error: No such module "citation/CS1".
- ↑ Script error: No such module "citation/CS1".
- ↑ Template:Cite thesis
- ↑ Script error: No such module "citation/CS1".
- ↑ Script error: No such module "citation/CS1".
- ↑ Script error: No such module "citation/CS1".
- ↑ Script error: No such module "citation/CS1".
- ↑ Script error: No such module "citation/CS1".
- ↑ Script error: No such module "citation/CS1".
- ↑ Script error: No such module "citation/CS1".
- ↑ Script error: No such module "citation/CS1".
- ↑ Script error: No such module "Citation/CS1".
- ↑ Script error: No such module "citation/CS1".
- ↑ Script error: No such module "citation/CS1".
- ↑ Script error: No such module "citation/CS1".
- ↑ Script error: No such module "citation/CS1".
- ↑ Script error: No such module "citation/CS1".
- ↑ Script error: No such module "Citation/CS1".
- ↑ Script error: No such module "Citation/CS1".
- ↑ Script error: No such module "Citation/CS1".
- ↑ Template:Cite thesis
- ↑ Script error: No such module "Citation/CS1".
- ↑ Script error: No such module "citation/CS1".
- ↑ Script error: No such module "citation/CS1".
- ↑ Template:Cite thesis
- ↑ Template:Cite thesis
- ↑ Script error: No such module "Citation/CS1".
- ↑ Script error: No such module "citation/CS1".
- ↑ Script error: No such module "citation/CS1".
- ↑ Script error: No such module "Citation/CS1".
- ↑ Script error: No such module "citation/CS1".
- ↑ Script error: No such module "citation/CS1".
- Pages with script errors
- Pages with broken file links
- 1982 video games
- Apple II games
- ASCII Corporation games
- BBC Micro and Acorn Electron games
- Cancelled Atari Jaguar games
- Commodore 64 games
- DOS games
- FM-7 games
- GP2X games
- Linux games
- Logic puzzles
- MacOS games
- Maze games
- MSX games
- NEC PC-6001 games
- NEC PC-8001 games
- NEC PC-8801 games
- NEC PC-9801 games
- Puzzle video games
- SG-1000 games
- Sharp MZ games
- Sharp X1 games
- Single-player video games
- Spectrum HoloByte games
- Thinking Rabbit games
- Video games developed in Japan
- Windows games
- Windows Mobile Professional games
- X68000 games
- ZX Spectrum games