The rules of the game

From Sokoban Wiki

(Difference between revisions)
Jump to: navigation, search
(Example Sokoban puzzle)
(Pasted the text from the Wikipedia article)
 
Line 1: Line 1:
-
The objective of the Sokoban game is to move objects (usually boxes) to designated locations by pushing them.<br> These objects are located inside a room surrounded by walls. The user controls a pusher called "Sokoban" which is said to mean something like "warehouse keeper" in Japanese. <br>The pusher can move up, down, left and right, but cannot pass through walls or boxes, and can only push one box at a time (never pull).<br> At any time, a square can only be occupied by either a wall, a box, or the pusher.
+
The warehouse is depicted as a grid of squares, each one representing either a floor section or a wall section.
 +
 
 +
Some floor squares contain boxes and some are marked as 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 the square beyond.
 +
 
 +
Boxes cannot be pushed to squares with walls or other boxes, and they cannot be pulled.
 +
 
 +
The number of boxes matches the number of storage locations.
 +
 
 +
The puzzle is solved when all boxes occupy the storage locations.
An example Sokoban puzzle and how it looks like solving it:<br>
An example Sokoban puzzle and how it looks like solving it:<br>
[[Image:Sokoban Puzzle solving.gif]]
[[Image:Sokoban Puzzle solving.gif]]
 +
 +
Each step of the player counts as a "move". Each push of a box counts as a "push".
 +
 +
Some programs display the number of moves and pushes, and the challenge is to complete the level with fewer moves or pushes.

Current revision as of 18:23, 23 April 2024

The warehouse is depicted as a grid of squares, each one representing either a floor section or a wall section.

Some floor squares contain boxes and some are marked as 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 the square beyond.

Boxes cannot be pushed to squares with walls or other boxes, and they cannot be pulled.

The number of boxes matches the number of storage locations.

The puzzle is solved when all boxes occupy the storage locations.

An example Sokoban puzzle and how it looks like solving it:
Image:Sokoban Puzzle solving.gif

Each step of the player counts as a "move". Each push of a box counts as a "push".

Some programs display the number of moves and pushes, and the challenge is to complete the level with fewer moves or pushes.

Personal tools