Sokoban: Keyboard, mouse and Toolbar

Previous page Next page

Keyboard, mouse and Toolbar

The program is controlled by the mouse, keyboard, a toolbar, and options in the File menu. The man is moved using keyboard arrow keys and the mouse. Moves can be undone with the Backspace command or the undo button in the Toolbar.

The Toolbar

The Toolbar can be used to: change map sets, change maps, undo moves, redo moves, restart a map, show an animation of your moves so far, show an animation of a good solution, stop an animation. Use the left mouse button. The middle mouse button pops up a reminder of the function of the key clicked.

Sourkoban: symbol for moving up a map set
Move to the previous map set.


Sourkoban: symbol for moving down a map set
Move to the next map set.


Sourkoban: symbol for moving back a map
Move to the previous map.


Sourkoban: symbol for moving down a map
Move to the next map.


Note that for the four buttons above the meaning of "next" and "previous" depends on the current Map selection mode. Depending on the selection mode, "next" map may mean next, or next unsolved, or next whose solution can be improved. Likewise for "previous".

Sourkoban: symbol for undoing a move
Undo a move.


Sourkoban: symbol for redoing a move
Redo a move.


Sourkoban: symbol for restarting a map
Restart a map.


Sourkoban: symbol for replaying the moves so far
Show an animation of the moves so far.


Sourkoban: symbol for showing an animation of the solution
Show an animation of a solution to the map.


Sourkoban: symbol for stopping an animation
Stop an animation.


Clicking on a Toolbar button with the middle mouse button will produce a pop-up to remind users of the function of the button. For example the figure below is the pop-up for the Stop animation button.

Sourkoban: pop-up describing the function of a Toolbar button
Figure 1. Pop-up info for the "Stop an animation" button.
















Moving the man

The man can be moved using the keyboard arrow keys. Alternatively, if there is a clear path, click the mouse at the position you want the man to move to, and he will go there. If he moves slowly enough you may notice that either the man is blind or drunk, or that I have not put much effort into finding the shortest path, as he often seems to stagger and take unnecessary detours. But, as far as I know, if there is a possible path, he always finds it. So, if you want to use the mininum number of moves, use the arrow keys! To undo a move use the keyboard Backspace key or the Toolbar undo button. To redo an undone move, use the redo button in the Toolbar.

Last updated: 2012-10-28    Sitemap