Jump to content

Sokoban: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
Reverted good faith edits by 2601:249:8B80:4050:DC2B:6DF7:CF88:4464 (talk): No need to remove
Line 1: Line 1:
{{ITALICTITLE}}
{{ITALICTITLE}}
{{Infobox video game
{{Infobox video game
|title=Sokoban
|title = Sokoban
|image=Sokoban logo.svg
|image = NEC PC-8801 Sokoban cover art.jpg
|caption = Cover art.
|alt=
|developer = [[Thinking Rabbit]]
|caption=
|publisher = {{vgrelease|JP|Thinking Rabbit|NA|[[Spectrum Holobyte]]}}
|developer=Hiroyuki Imabayashi
|designer = Hiroyuki Imabayashi
|publisher=[[Thinking Rabbit]]
|released = {{vgrelease|JP|December 1982|NA|1988}}
|platforms=
|platforms = [[PC-8801]], [[Sharp X1]], [[SG-1000]], [[MSX]], [[Commodore 64]], [[ZX Spectrum]], [[Apple II]]
|released=December 1982
|genre=[[Puzzle video game|Puzzle]]
|genre = [[Puzzle video game|Puzzle]]
|modes=[[Single-player video game|Single-player]]
|modes = [[Single-player video game|Single-player]]
|commons=Sokoban
|commons = Sokoban
}}
}}


{{nihongo|'''''Sokoban'''''|倉庫番|sōko-ban|"warehouse keeper"}} is a [[puzzle video game]] in which the player pushes crates or boxes around in a [[warehouse]], trying to get them to storage locations.
{{nihongo foot|'''''Sokoban'''''|倉庫番|''Sōko-ban''||lead=yes|group=lower-alpha}} is a [[puzzle video game]] in which the player pushes crates or boxes around in a [[warehouse]], trying to get them to storage locations.


''Sokoban'' was created in 1981 by Hiroyuki Imabayashi. It was published in December 1982 for [[NEC PC-8801]] by [[Thinking Rabbit]], a [[software house]] based in [[Takarazuka, Hyōgo|Takarazuka]], [[Japan]].
''Sokoban'' was created in 1981 by Hiroyuki Imabayashi. It was published in December 1982 for [[NEC PC-8801]] by [[Thinking Rabbit]], a [[software house]] based in [[Takarazuka, Hyōgo|Takarazuka]], [[Japan]].
Line 23: Line 23:


The player is confined to the board and may move horizontally or vertically onto empty squares (never through walls or boxes). The player can move a box by walking up to it and push it to the square beyond. Boxes cannot be pulled, and they cannot be pushed to squares with walls or other boxes. The number of boxes equals the number of storage locations. The puzzle is solved when all boxes are placed at storage locations.
The player is confined to the board and may move horizontally or vertically onto empty squares (never through walls or boxes). The player can move a box by walking up to it and push it to the square beyond. Boxes cannot be pulled, and they cannot be pushed to squares with walls or other boxes. The number of boxes equals the number of storage locations. The puzzle is solved when all boxes are placed at storage locations.

[[File:PC-88 Sokoban.png|thumb|left]]


==Selected releases==
==Selected releases==
Line 55: Line 57:
|-
|-
|1988
|1988
|''[[Sokoban (video game)|Soko-Ban]]''
|''[[Soko-Ban]]''
|US
|US
|[[IBM-PC]] and [[IBM PC compatible|compatibles]]
|[[IBM-PC]] and [[IBM PC compatible|compatibles]]
Line 83: Line 85:
|}
|}


==Development==
In 1988, ''Sokoban'' was published in the US by [[Spectrum HoloByte]] as ''Soko-Ban'' for [[IBM PC compatible]]s, [[Commodore 64]], and [[Apple II]].
In 1988 ''Sokoban'' was published in US by [[Spectrum HoloByte]] for the [[Commodore 64]], [[IBM-PC]] and [[Apple II series]] as ''Soko-Ban''. ''[[Sokoban]]'' was a hit in Japan, and had sold over 400,000 units in that country by the time [[Spectrum HoloByte]] imported it to the United States.<ref name=incider>{{cite journal | author=Low, Lafe | journal=[[inCider]] | title=News Line; Made in Japan |date=November 1988 | issue=43 | at=14, 15 }}</ref>


==Reception==
''Sokoban'' was a hit in Japan and had sold over 400,000 units in that country by the time [[Spectrum HoloByte]] imported it to the United States.<ref name=incider>{{cite journal | author=Low, Lafe | journal=[[inCider]] | title=News Line; Made in Japan |date=November 1988 | issue=43 | at=14, 15 }}</ref> A review in ''[[Computer Gaming World]]'' praised the game for being "pure and simple, very playable and mentally challenging", citing its addictive qualities.<ref name= "CGW">{{cite journal |title=Puzzling Encounters |date=May 1988 |last=Wagner|first=Roy |periodical=[[Computer Gaming World]] |issue=47 |pages=42–43}}</ref> It was also reviewed in ''[[Dragon (magazine)|Dragon]]'', receiving {{frac|4|1|2}} out of 5 stars.<ref name="Dragon132">{{cite journal |title=The Role of Computers |date=April 1988 |last1=Lesser |last2=Lesser |last3=Lesser |first1=Hartley |first2=Patricia |first3=Kirk |periodical=[[Dragon (magazine)|Dragon]] |issue=132 |pages=80–85}}</ref>
''Sokoban'' was a hit in Japan and had sold over 400,000 units in that country by the time [[Spectrum HoloByte]] imported it to the United States.<ref name=incider>{{cite journal | author=Low, Lafe | journal=[[inCider]] | title=News Line; Made in Japan |date=November 1988 | issue=43 | at=14, 15 }}</ref> A review in ''[[Computer Gaming World]]'' praised the game for being "pure and simple, very playable and mentally challenging", citing its addictive qualities.<ref name= "CGW">{{cite journal |title=Puzzling Encounters |date=May 1988 |last=Wagner|first=Roy |periodical=[[Computer Gaming World]] |issue=47 |pages=42–43}}</ref> It was also reviewed in ''[[Dragon (magazine)|Dragon]]'', receiving {{frac|4|1|2}} out of 5 stars.<ref name="Dragon132">{{cite journal |title=The Role of Computers |date=April 1988 |last1=Lesser |last2=Lesser |last3=Lesser |first1=Hartley |first2=Patricia |first3=Kirk |periodical=[[Dragon (magazine)|Dragon]] |issue=132 |pages=80–85}}</ref>



Revision as of 07:42, 29 October 2020

Sokoban
File:NEC PC-8801 Sokoban cover art.jpg
Cover art.
Developer(s)Thinking Rabbit
Publisher(s)
Designer(s)Hiroyuki Imabayashi
Platform(s)PC-8801, Sharp X1, SG-1000, MSX, Commodore 64, ZX Spectrum, Apple II
Release
  • JP: December 1982
  • NA: 1988
Genre(s)Puzzle
Mode(s)Single-player

Sokoban[a] is a puzzle video game in which the player pushes crates or boxes around in a warehouse, trying to get them to storage locations.

Sokoban was created in 1981 by Hiroyuki Imabayashi. It was published in December 1982 for NEC PC-8801 by Thinking Rabbit, a software house based in Takarazuka, Japan.

Gameplay

A Sokoban puzzle being solved.

The game is played on a board of squares, where each square is a floor or a wall. Some floor squares contain boxes, and some floor squares are marked as storage locations.

The player is confined to the board and may move horizontally or vertically onto empty squares (never through walls or boxes). The player can move a box by walking up to it and push it to the square beyond. Boxes cannot be pulled, and they cannot be pushed to squares with walls or other boxes. The number of boxes equals the number of storage locations. The puzzle is solved when all boxes are placed at storage locations.

File:PC-88 Sokoban.png

Selected releases

Year Title Country Platform Publisher Media
1982 Sokoban (倉庫番) Japan NEC PC-8801 Thinking Rabbit Tape
1983 Sokoban [Extra Edition] (倉庫番[番外編][1][2]) Japan NEC PC-8801 PCマガジン Source code
1984 Sokoban 2 (倉庫番2) Japan NEC PC-8801 Thinking Rabbit Tape
1988 Soko-Ban US IBM-PC and compatibles Spectrum HoloByte Floppy
1989 Soko-ban Perfect (倉庫番Perfect) Japan NEC PC-9801 Thinking Rabbit Floppy
1991 Soko-ban Revenge (倉庫番Revenge) Japan NEC PC-9801 Thinking Rabbit Floppy
2016 Sokoban Touch (倉庫番Touch) Japan, US Android and Apple iOS Thinking Rabbit Digital distribution

Development

In 1988 Sokoban was published in US by Spectrum HoloByte for the Commodore 64, IBM-PC and Apple II series as Soko-Ban. Sokoban was a hit in Japan, and had sold over 400,000 units in that country by the time Spectrum HoloByte imported it to the United States.[3]

Sokoban was a hit in Japan and had sold over 400,000 units in that country by the time Spectrum HoloByte imported it to the United States.[3] A review in Computer Gaming World praised the game for being "pure and simple, very playable and mentally challenging", citing its addictive qualities.[4] It was also reviewed in Dragon, receiving 4+12 out of 5 stars.[5]

Implementations

Implementations of Sokoban have been written for numerous computer platforms, including almost all home computer and personal computer systems. Different versions also exist for video game consoles, mobile phones, graphic calculators, digital cameras and electronic organizers.

Scientific research

Sokoban can be studied using the theory of computational complexity. The problem of solving Sokoban puzzles was first proved to be NP-hard.[6][7] Further work showed that it was significantly more difficult than NP problems; it is PSPACE-complete.[8] This is of interest for artificial intelligence (AI) research because solving Sokoban can be compared to the automated planning required by some autonomous robots.

Sokoban is difficult not only because of its large branching factor, but also because of its large search tree depth. Some level types can even be extended indefinitely, with each iteration requiring an exponentially growing number of moves and pushes.[9] Skilled human players rely mostly on heuristics and are usually able to quickly discard a great many futile or redundant lines of play by recognizing patterns and subgoals, thereby drastically reducing the amount of search.

Some Sokoban puzzles can be solved automatically by using a single-agent search algorithm, such as IDA*; enhanced by several techniques that make use of domain-specific knowledge.[10] This is the method used by Rolling Stone,[11] a Sokoban solver developed by the University of Alberta GAMES Group. Festival[12] was the first automatic solver to solve all 90 levels in the standard benchmark test suite. However, the more complex Sokoban levels are out of reach even for the best automated solvers.[13]

Variants

Several puzzles can be considered variants of the original Sokoban game in the sense that they all make use of a controllable character pushing boxes around in a maze.

  • Alternative tilings: In the standard game, the mazes are laid out on a square grid. Several variants apply the rules of Sokoban to mazes laid out on other tilings. Hexoban uses regular hexagons, and Trioban uses equilateral triangles.
  • Multiple pushers: In the variants Multiban and Interlock, the player can control multiple characters.
  • Alternative goals: Several variants adjust the requirements for completing a level. For example, in Block-o-Mania the boxes have different colours, and the goal is to push them onto squares with matching colours. Sokomind Plus implements a similar idea, with boxes and target squares uniquely numbered. In Interlock and Sokolor, the boxes also have different colours, but the goal is to move them so that similarly coloured boxes are adjacent. In CyberBox, each level has a designated exit square, and the goal is to reach that exit. In a variant called Beanstalk, the elements of the level must be pushed onto a target square in a fixed sequence.
  • Additional game elements: Push Crate, Sokonex, Xsok, Cyberbox and Block-o-Mania all add new elements to the basic puzzle. Examples include holes, teleports, moving blocks and one-way passages. The 1982 Sokoban (NEC PC-8801) game featured levels with destructible walls.[14]
  • Character actions: In Pukoban, the character can pull boxes in addition to pushing them.
  • Reverse mode: The player solves the puzzle backwards, from the end to the initial position by pulling instead of pushing boxes. Standard Sokoban puzzles can be played in reverse mode, and the reverse-mode solutions can be converted to solutions for the standard-mode puzzles. Therefore, reverse-mode gameplay can also be instrumental in solving standard Sokoban puzzles.

See also

References

  1. ^ "今回はこのゲームを開発した THINKING RABBIT さんにお願いして, 市販品とは別に10の倉庫をつくってもらいましたので" [This time, we asked THINKING RABBIT, who developed this game, to build 10 warehouses separately from commercial products]. PCマガジン (in Japanese). August 1983. pp. 52–56.
  2. ^ "題して『倉庫番』PCマガジン番外編 (このプログラムは, PC-8801/9801 で使えます)" [Titled "Sokoban" PC Magazine Extra Edition (this program can be used with PC-8801 / 9801)]. PCマガジン (in Japanese). August 1983. pp. 52–56.
  3. ^ a b Low, Lafe (November 1988). "News Line; Made in Japan". inCider (43). 14, 15.
  4. ^ Wagner, Roy (May 1988). "Puzzling Encounters". Computer Gaming World (47): 42–43.
  5. ^ Lesser, Hartley; Lesser, Patricia; Lesser, Kirk (April 1988). "The Role of Computers". Dragon (132): 80–85.
  6. ^ M. Fryers; M. T. Greene (1995). "Sokoban". Eureka (54).
  7. ^ Dor, Dorit; Zwick, Uri (1999). "SOKOBAN and other motion planning problems". Computational Geometry. 13 (4): 215–228. doi:10.1016/S0925-7721(99)00017-6. ISSN 0925-7721.
  8. ^ Joseph C. Culberson, Sokoban is PSPACE-complete (PS). Technical Report TR 97-02, Dept. of Computing Science, University of Alberta, 1997.
  9. ^ David Holland and Yaron Shoham, "Theoretical analysis on Picokosmos 17".
  10. ^ Andreas Junghanns, Jonathan Schaeffer (2001) Sokoban: Enhancing general single-agent search methods using domain knowledge, Artificial Intelligence 129(1–2):219–251 (Special issue on heuristic search in artificial intelligence).
  11. ^ Junghanns, Andreas; Schaeffer, Jonathan (1997). "Sokoban: A Challenging Single-Agent Search Problem" (PDF). In IJCAI Workshop on Using Games as an Experimental Testbed for AI Research. University of Alberta. pp. 27–36. {{cite conference}}: Unknown parameter |booktitle= ignored (|book-title= suggested) (help)
  12. ^ Yaron Shoham, Jonathan Shaeffer (2020) The FESS Algorithm: A Feature Based Approach to Single-Agent Search
  13. ^ "Solver Statistics – Sokoban Wiki". Retrieved 8 February 2013.
  14. ^ THE 倉庫番 (in Japanese). 1987. p. 113. ISBN 4-88239-606-8.


Cite error: There are <ref group=lower-alpha> tags or {{efn}} templates on this page, but the references will not show without a {{reflist|group=lower-alpha}} template or {{notelist}} template (see the help page).