All Topics  
Sokoban

 

   Email Print
   Bookmark   Link

 

Sokoban


 
 



is a transport puzzleTransport puzzle

Transport puzzles are logistical puzzles, which often represent real-life transport problems....
  in which the player pushes boxes around a mazeMaze

A maze is a tour puzzle in the form of a complex branching passage through which the solver must find a route....
, viewed from above, and tries to put them in designated locations. Only one boxBox

* Inhabited boxes:** Luxury box** Police box...
 may be pushed at a time, and boxes cannot be pulled. The puzzle is usually implemented as a video game.

Sokoban was created in 1980 by Hiroyuki Imabayashi, and was published in 1982 by Thinking RabbitThinking Rabbit

Thinking Rabbit was a software house based in Takarazuka, Japan, and are the original publishers of Sokoban....
, a software houseSoftware house

A software house is a commercial entity whose primary products are composed of software, i.e....
 based in TakarazukaTakarazuka

Takarazuka can refer to* The Takarazuka city of Hyogo prefecture in Japan...
, JapanJapan

is an island country in East Asia. Located in the Pacific Ocean, it lies to the east of China, Korea, and Russia, stretching from...
. Thinking Rabbit also released three sequels: BoxxleBoxxle

Boxxle is a puzzle game for the original Nintendo Game Boy released by FCI....
, Sokoban Perfect and Sokoban Revenge. The first game was imported to the US by Spectrum HoloByteSpectrum HoloByte

Spectrum HoloByte, Inc. was a developer of computer games originally based in Alameda, California....
 for the Commodore 64Commodore 64

The Commodore 64 personal computer, released in August 1982, became the best selling single computer model of all time, acco...
 and IBM-PC. A 1988 review of the original in Computer Gaming WorldComputer Gaming World

Computer Gaming World is a monthly magazine devoted to video games on the PC platform....
praised the game for being "pure and simple, very playable and mentally challenging," citing its addictive qualities.

Implementations of Sokoban have been written for numerous computer platformsPlatform (computing)

In computing, a platform describes some sort of framework, either in hardware or software, which allows software to run....
, including almost all home computerHome computer

The home computer is a consumer-friendly word for the second generation of microcomputers , entering the market in 1977 and ...
 and personal computerPersonal computer

A personal computer is usually a microcomputer whose price, size, and capabilities make it suitable for personal usage....
 systems. Versions also exist for several hand held and video game consoleVideo game console

A video game console is an interactive entertainment computer....
s, mobile phones, graphic calculators, and Canon PowerShotPowershot Summary

Powershot is a high-concentration energy drink produced by Blue Spike Beverages, in Canada....
 digital cameras. Many other puzzle games, such as Chip's ChallengeFacts About Chip's Challenge

Chip's Challenge is a tile-based, puzzle video game for several systems, including the hand-held Atari Lynx, DOS, and Window...
and Rocks and Diamonds, implement Sokoban-based gameplay. The roguelikeRoguelike

A roguelike is a computer game that borrows some of the elements of another computer game, 1980's Rogue....
 computer game NetHackNetHack

NetHack is a single-player roguelike computer game originally released in 1987....
contains a sequence of dungeonDungeon

A dungeon, in its original medieval usage, was the keep, the main tower of a castle which formed the final defensive positio...
 levelsLevel (computer and video games)

In computer and video games, a level is a separate area in a game's virtual world, in modern games typically representing a ...
 deliberately designed to simulate a Sokoban game.

Sokoban variants

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

Alternative Tilings:
In the standard game, the mazes are laid out on a tiling of squaresSquare tiling

In geometry, the Square tiling is a regular tiling of the Euclidean plane....
. Several variants apply the rules of Sokoban to mazes laid out on other tilings. Hexoban uses a tiling of regular hexagonsHexagonal tiling

In geometry, the hexagonal tiling is a regular tiling of the Euclidean plane....
 and Trioban a tiling of equilateral trianglesTriangular tiling

In geometry, the triangular tiling is a regular tiling of the Euclidean plane....
.

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 are different colours and the goal is to push them onto squares which match their colours. Sokomind Plus implements a similar idea, with boxes and target squares uniquely numbered. In Interlock and Sokolor, the boxes are also 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 the goal in a fixed sequence.

Additional game elements:
Sokonex, Xsok, Cyberbox, Block-o-Mania all add new elements to the basic puzzle. Examples include holes, teleports, moving blocks and one-way passages.

Scientific research on Sokoban

Sokoban can be studied using the theory of computational complexityComputational complexity theory

In computer science, computational complexity theory is the branch of the theory of computation that studies the resources, ...
. The problem of solving Sokoban puzzles has been proven to be NP-hardNP-hard

For a gentler introduction, see Complexity classes P and NP....
. This is interesting also for artificial intelligenceArtificial intelligence

Artificial intelligence is a branch of computer science that deals with intelligent behavior, learning, and adaptation in m...
 researchers, because solving Sokoban can be compared to designing a robot which moves boxes in a warehouse. Further work has shown that solving Sokoban is also PSPACE-completePSPACE-complete

In complexity theory, PSPACE-complete is a complexity class....
.

Sokoban is difficult not only due to its branching factorBranching factor

In computing, tree data structures, and game theory, the branching factor is the number of children of each node....
 (which is comparable to chessChess

Chess is an abstract strategy board game and mental sport for two players....
, but still much lower than that of goGo (board game)

Go, also known as Weiqi in Chinese , Igo in Japanese , and Baduk in Korean , is a strategic, zero-sum, det...
), but also its enormous search tree depth; some levels require more than 1000 "pushes". Skilled human players rely mostly on heuristics; they are usually able to quickly discard futile or redundant lines of play, and recognize patterns and subgoals, drastically cutting down on 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 which make use of domain-specific knowledge. This is the method used by Rolling Stone, a Sokoban solver developed by the University of AlbertaUniversity of Alberta

The University of Alberta is a public coeducational research university located in Edmonton, Alberta, Canada....
 GAMES Group. The more complex Sokoban levels are, however, out of reach even for the best automated solvers.

See also

  • Logic puzzleLogic puzzle

    A logic puzzle is a puzzle deriving from the mathematics field of deduction....
  • Sliding puzzleSliding puzzle Overview

    A sliding puzzle, sliding block puzzle, or sliding tile puzzle challenges a player to slide usually flat pieces ...
  • Chip's ChallengeChip's Challenge

    Chip's Challenge is a tile-based, puzzle video game for several systems, including the hand-held Atari Lynx, DOS, and Window...
  • Open Source Puzzle GamesList of open-source games by genre

    This article is a selected list of open source games with articles, sorted by genre....


External links

  • (in Japanese)