FS#10253 : mkamsboot v1.0
[kugel-rb.git] / manual / plugins / sokoban.tex
blob91da56980c3cdcfea5dca720fa4f234caed1e578
1 \subsection{Sokoban}
2 \screenshot{plugins/images/ss-sokoban}{Sokoban}{fig:sokoban}
4 The object of the game is to push boxes into their correct position in a
5 crowded warehouse with a minimal number of pushes and moves. The boxes
6 can only be pushed, never pulled, and only one can be pushed at a time.
8 Sokoban may be used as a viewer for viewing saved solutions and playing
9 external level sets with the \fname{.sok} extension. Level sets should be in
10 the standard Sokoban text format or RLE (Run Length Encoded). For more
11 information about the level format, see
12 \url{http://sokobano.de/wiki/index.php?title=Level_format}
14 \begin{table}
15 \begin{btnmap}{}{}
16 \multicolumn{2}{c}{\textbf{In game}} \\
17 \hline
18 \opt{RECORDER_PAD,ARCHOS_AV300_PAD,ONDIO_PAD,IRIVER_H100_PAD,IRIVER_H300_PAD%
19 ,IAUDIO_X5_PAD,GIGABEAT_PAD,GIGABEAT_S_PAD,MROBE100_PAD,SANSA_E200_PAD,SANSA_C200_PAD}
20 {\ButtonUp, \ButtonDown, }%
21 \opt{IPOD_4G_PAD,IPOD_3G_PAD}{\ButtonMenu, \ButtonPlay, }%
22 \opt{IRIVER_H10_PAD}{\ButtonScrollUp, \ButtonScrollDown, }%
23 \ButtonLeft, \ButtonRight
24 & Move the ``sokoban'' up, down, left, or right\\
25 \opt{RECORDER_PAD,ARCHOS_AV300_PAD,ONDIO_PAD,IRIVER_H100_PAD,IRIVER_H300_PAD}{\ButtonOff}
26 \opt{IPOD_4G_PAD,IPOD_3G_PAD}{\ButtonSelect+\ButtonMenu}
27 \opt{IAUDIO_X5_PAD,IRIVER_H10_PAD,GIGABEAT_PAD,MROBE100_PAD,SANSA_E200_PAD,SANSA_C200_PAD}{\ButtonPower}
28 \opt{GIGABEAT_S_PAD}{\ButtonMenu}
29 & Menu \\
30 \nopt{IAUDIO_X5_PAD}{
31 \opt{RECORDER_PAD,ARCHOS_AV300_PAD}{\ButtonFOne}
32 \opt{ONDIO_PAD}{\ButtonMenu+\ButtonLeft}
33 \opt{IRIVER_H100_PAD,IRIVER_H300_PAD}{\ButtonOn+\ButtonDown}
34 \opt{IPOD_4G_PAD,IPOD_3G_PAD}{\ButtonSelect+\ButtonLeft}
35 \opt{IRIVER_H10_PAD}{\ButtonPlay+\ButtonScrollDown}
36 \opt{GIGABEAT_PAD,SANSA_C200_PAD}{\ButtonVolDown}
37 \opt{MROBE10_PAD}{\ButtonDisplay}
38 \opt{SANSA_E200_PAD}{\ButtonSelect+\ButtonDown}
39 \opt{GIGABEAT_S_PAD}{\ButtonPrev}
40 & Back to previous level \\
42 \nopt{IPOD_4G_PAD,IPOD_3G_PAD}{
43 \opt{RECORDER_PAD,ARCHOS_AV300_PAD}{\ButtonFTwo}
44 \opt{ONDIO_PAD}{\ButtonMenu+\ButtonUp}
45 \opt{IRIVER_H100_PAD,IRIVER_H300_PAD}{\ButtonOn}
46 \opt{IAUDIO_X5_PAD}{\ButtonRec}
47 \opt{IRIVER_H10_PAD}{\ButtonPlay+\ButtonRight}
48 \opt{GIGABEAT_PAD,MROBE100_PAD}{\ButtonMenu}
49 \opt{SANSA_E200_PAD,SANSA_C200_PAD}{\ButtonSelect+\ButtonRight}
50 \opt{GIGABEAT_S_PAD}{\ButtonPlay}
51 & Restart level \\
53 \nopt{IAUDIO_X5_PAD}{
54 \opt{RECORDER_PAD,ARCHOS_AV300_PAD}{\ButtonFThree}
55 \opt{ONDIO_PAD}{\ButtonMenu+\ButtonRight}
56 \opt{IRIVER_H100_PAD,IRIVER_H300_PAD}{\ButtonOn+\ButtonUp}
57 \opt{IPOD_4G_PAD,IPOD_3G_PAD}{\ButtonSelect+\ButtonRight}
58 \opt{IRIVER_H10_PAD}{\ButtonPlay+\ButtonScrollUp}
59 \opt{GIGABEAT_PAD,SANSA_C200_PAD}{\ButtonVolUp}
60 \opt{GIGABEAT_S_PAD}{\ButtonNext}
61 \opt{MROBE100_PAD}{\ButtonPlay}
62 \opt{SANSA_E200_PAD}{\ButtonSelect+\ButtonUp}
63 & Go to next level \\
65 \opt{RECORDER_PAD,ARCHOS_AV300_PAD}{\ButtonOn}
66 \opt{ONDIO_PAD}{\ButtonMenu}
67 \opt{IRIVER_H100_PAD,IRIVER_H300_PAD}{\ButtonRec}
68 \opt{IPOD_4G_PAD,IPOD_3G_PAD,IAUDIO_X5_PAD,GIGABEAT_PAD,MROBE100_PAD,SANSA_E200_PAD,SANSA_C200_PAD}{\ButtonSelect}
69 \opt{IRIVER_H10_PAD}{\ButtonRew}
70 \opt{GIGABEAT_S_PAD}{\ButtonVolUp}
71 & Undo last movement \\
72 \opt{RECORDER_PAD,ARCHOS_AV300_PAD,IAUDIO_X5_PAD}{\ButtonPlay}
73 \opt{ONDIO_PAD}{\ButtonMenu+\ButtonDown}
74 \opt{IRIVER_H100_PAD,IRIVER_H300_PAD}{\ButtonMode}
75 \opt{IPOD_4G_PAD,IPOD_3G_PAD}{\ButtonSelect+\ButtonPlay}
76 \opt{IRIVER_H10_PAD}{\ButtonFF}
77 \opt{GIGABEAT_PAD}{\ButtonA}
78 \opt{GIGABEAT_S_PAD}{\ButtonVolDown}
79 \opt{MROBE100_PAD}{\ButtonDisplay}
80 \opt{SANSA_E200_PAD,SANSA_C200_PAD}{\ButtonRec}
81 & Redo previously undone move \\
82 \hline
83 \multicolumn{2}{c}{\textbf{Solution playback}} \\
84 \hline
85 \opt{RECORDER_PAD,ARCHOS_AV300_PAD,IAUDIO_X5_PAD,IRIVER_H10_PAD}{\ButtonPlay}
86 \opt{ONDIO_PAD}{\ButtonMenu}
87 \opt{IRIVER_H100_PAD,IRIVER_H300_PAD}{\ButtonOn}
88 \opt{IPOD_4G_PAD,IPOD_3G_PAD,GIGABEAT_PAD,GIGABEAT_S_PAD,MROBE100_PAD%
89 ,SANSA_E200_PAD,SANSA_C200_PAD}{\ButtonSelect}
90 & Pause/resume \\
91 \opt{RECORDER_PAD,ARCHOS_AV300_PAD,ONDIO_PAD,IRIVER_H100_PAD,IRIVER_H300_PAD%
92 ,IAUDIO_X5_PAD,GIGABEAT_PAD,GIGABEAT_S_PAD,MROBE100_PAD,SANSA_E200_PAD,SANSA_C200_PAD}
93 {\ButtonUp/\ButtonDown}
94 \opt{IPOD_4G_PAD,IPOD_3G_PAD}{\ButtonMenu/\ButtonPlay}
95 \opt{IRIVER_H10_PAD}{\ButtonScrollUp/\ButtonScrollDown}
96 & Increase/decrease playback speed \\
97 \ButtonLeft/\ButtonRight
98 & Go backward/forward (while paused) \\
99 \opt{RECORDER_PAD,ARCHOS_AV300_PAD,ONDIO_PAD,IRIVER_H100_PAD,IRIVER_H300_PAD}{\ButtonOff}
100 \opt{IPOD_4G_PAD,IPOD_3G_PAD}{\ButtonSelect+\ButtonMenu}
101 \opt{IAUDIO_X5_PAD,IRIVER_H10_PAD,GIGABEAT_PAD,MROBE100_PAD,SANSA_E200_PAD,SANSA_C200_PAD}{\ButtonPower}
102 \opt{GIGABEAT_S_PAD}{\ButtonMenu}
103 & Quit \\
104 \end{btnmap}
105 \end{table}
107 Some places where can you can find level sets:
108 \begin{itemize}
109 \item \url{http://www.sourcecode.se/sokoban/levels.php}
110 \item \url{http://sokobano.de/en/levels.php}
111 \end{itemize}
112 Note that some level sets may contain levels that are too large for this
113 version of Sokoban and are unplayable as a result.