Add a generic \opt{HAVEREMOTEKEYMAP}{& } to button maps to allow all
[kugel-rb.git] / manual / plugins / sokoban.tex
bloba7db02e26356f4b7a525672523e7500a45c47e71
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 \opt{HAVEREMOTEKEYMAP}{& }
25 & Move the ``sokoban'' up, down, left, or right\\
26 \opt{RECORDER_PAD,ARCHOS_AV300_PAD,ONDIO_PAD,IRIVER_H100_PAD,IRIVER_H300_PAD}{\ButtonOff}
27 \opt{IPOD_4G_PAD,IPOD_3G_PAD}{\ButtonSelect+\ButtonMenu}
28 \opt{IAUDIO_X5_PAD,IRIVER_H10_PAD,GIGABEAT_PAD,MROBE100_PAD,SANSA_E200_PAD,SANSA_C200_PAD}{\ButtonPower}
29 \opt{GIGABEAT_S_PAD}{\ButtonMenu}
30 \opt{HAVEREMOTEKEYMAP}{& }
31 & Menu \\
32 \nopt{IAUDIO_X5_PAD}{
33 \opt{RECORDER_PAD,ARCHOS_AV300_PAD}{\ButtonFOne}
34 \opt{ONDIO_PAD}{\ButtonMenu+\ButtonLeft}
35 \opt{IRIVER_H100_PAD,IRIVER_H300_PAD}{\ButtonOn+\ButtonDown}
36 \opt{IPOD_4G_PAD,IPOD_3G_PAD}{\ButtonSelect+\ButtonLeft}
37 \opt{IRIVER_H10_PAD}{\ButtonPlay+\ButtonScrollDown}
38 \opt{GIGABEAT_PAD,SANSA_C200_PAD}{\ButtonVolDown}
39 \opt{MROBE10_PAD}{\ButtonDisplay}
40 \opt{SANSA_E200_PAD}{\ButtonSelect+\ButtonDown}
41 \opt{GIGABEAT_S_PAD}{\ButtonPrev}
42 \opt{HAVEREMOTEKEYMAP}{& }
43 & Back to previous level \\
45 \nopt{IPOD_4G_PAD,IPOD_3G_PAD}{
46 \opt{RECORDER_PAD,ARCHOS_AV300_PAD}{\ButtonFTwo}
47 \opt{ONDIO_PAD}{\ButtonMenu+\ButtonUp}
48 \opt{IRIVER_H100_PAD,IRIVER_H300_PAD}{\ButtonOn}
49 \opt{IAUDIO_X5_PAD}{\ButtonRec}
50 \opt{IRIVER_H10_PAD}{\ButtonPlay+\ButtonRight}
51 \opt{GIGABEAT_PAD,MROBE100_PAD}{\ButtonMenu}
52 \opt{SANSA_E200_PAD,SANSA_C200_PAD}{\ButtonSelect+\ButtonRight}
53 \opt{GIGABEAT_S_PAD}{\ButtonPlay}
54 \opt{HAVEREMOTEKEYMAP}{& }
55 & Restart level \\
57 \nopt{IAUDIO_X5_PAD}{
58 \opt{RECORDER_PAD,ARCHOS_AV300_PAD}{\ButtonFThree}
59 \opt{ONDIO_PAD}{\ButtonMenu+\ButtonRight}
60 \opt{IRIVER_H100_PAD,IRIVER_H300_PAD}{\ButtonOn+\ButtonUp}
61 \opt{IPOD_4G_PAD,IPOD_3G_PAD}{\ButtonSelect+\ButtonRight}
62 \opt{IRIVER_H10_PAD}{\ButtonPlay+\ButtonScrollUp}
63 \opt{GIGABEAT_PAD,SANSA_C200_PAD}{\ButtonVolUp}
64 \opt{GIGABEAT_S_PAD}{\ButtonNext}
65 \opt{MROBE100_PAD}{\ButtonPlay}
66 \opt{SANSA_E200_PAD}{\ButtonSelect+\ButtonUp}
67 \opt{HAVEREMOTEKEYMAP}{& }
68 & Go to next level \\
70 \opt{RECORDER_PAD,ARCHOS_AV300_PAD}{\ButtonOn}
71 \opt{ONDIO_PAD}{\ButtonMenu}
72 \opt{IRIVER_H100_PAD,IRIVER_H300_PAD}{\ButtonRec}
73 \opt{IPOD_4G_PAD,IPOD_3G_PAD,IAUDIO_X5_PAD,GIGABEAT_PAD,MROBE100_PAD,SANSA_E200_PAD,SANSA_C200_PAD}{\ButtonSelect}
74 \opt{IRIVER_H10_PAD}{\ButtonRew}
75 \opt{GIGABEAT_S_PAD}{\ButtonVolUp}
76 \opt{HAVEREMOTEKEYMAP}{& }
77 & Undo last movement \\
79 \opt{RECORDER_PAD,ARCHOS_AV300_PAD,IAUDIO_X5_PAD}{\ButtonPlay}
80 \opt{ONDIO_PAD}{\ButtonMenu+\ButtonDown}
81 \opt{IRIVER_H100_PAD,IRIVER_H300_PAD}{\ButtonMode}
82 \opt{IPOD_4G_PAD,IPOD_3G_PAD}{\ButtonSelect+\ButtonPlay}
83 \opt{IRIVER_H10_PAD}{\ButtonFF}
84 \opt{GIGABEAT_PAD}{\ButtonA}
85 \opt{GIGABEAT_S_PAD}{\ButtonVolDown}
86 \opt{MROBE100_PAD}{\ButtonDisplay}
87 \opt{SANSA_E200_PAD,SANSA_C200_PAD}{\ButtonRec}
88 \opt{HAVEREMOTEKEYMAP}{& }
89 & Redo previously undone move \\
90 \hline
91 \multicolumn{2}{c}{\textbf{Solution playback}} \\
92 \hline
93 \opt{RECORDER_PAD,ARCHOS_AV300_PAD,IAUDIO_X5_PAD,IRIVER_H10_PAD}{\ButtonPlay}
94 \opt{ONDIO_PAD}{\ButtonMenu}
95 \opt{IRIVER_H100_PAD,IRIVER_H300_PAD}{\ButtonOn}
96 \opt{IPOD_4G_PAD,IPOD_3G_PAD,GIGABEAT_PAD,GIGABEAT_S_PAD,MROBE100_PAD%
97 ,SANSA_E200_PAD,SANSA_C200_PAD}{\ButtonSelect}
98 \opt{HAVEREMOTEKEYMAP}{& }
99 & Pause/resume \\
100 \opt{RECORDER_PAD,ARCHOS_AV300_PAD,ONDIO_PAD,IRIVER_H100_PAD,IRIVER_H300_PAD%
101 ,IAUDIO_X5_PAD,GIGABEAT_PAD,GIGABEAT_S_PAD,MROBE100_PAD,SANSA_E200_PAD,SANSA_C200_PAD}
102 {\ButtonUp/\ButtonDown}
103 \opt{IPOD_4G_PAD,IPOD_3G_PAD}{\ButtonMenu/\ButtonPlay}
104 \opt{IRIVER_H10_PAD}{\ButtonScrollUp/\ButtonScrollDown}
105 \opt{HAVEREMOTEKEYMAP}{& }
106 & Increase/decrease playback speed \\
107 \ButtonLeft/\ButtonRight
108 \opt{HAVEREMOTEKEYMAP}{& }
109 & Go backward/forward (while paused) \\
110 \opt{RECORDER_PAD,ARCHOS_AV300_PAD,ONDIO_PAD,IRIVER_H100_PAD,IRIVER_H300_PAD}{\ButtonOff}
111 \opt{IPOD_4G_PAD,IPOD_3G_PAD}{\ButtonSelect+\ButtonMenu}
112 \opt{IAUDIO_X5_PAD,IRIVER_H10_PAD,GIGABEAT_PAD,MROBE100_PAD,SANSA_E200_PAD,SANSA_C200_PAD}{\ButtonPower}
113 \opt{GIGABEAT_S_PAD}{\ButtonMenu}
114 \opt{HAVEREMOTEKEYMAP}{& }
115 & Quit \\
116 \end{btnmap}
117 \end{table}
119 Some places where can you can find level sets:
120 \begin{itemize}
121 \item \url{http://www.sourcecode.se/sokoban/levels.php}
122 \item \url{http://sokobano.de/en/levels.php}
123 \end{itemize}
124 Note that some level sets may contain levels that are too large for this
125 version of Sokoban and are unplayable as a result.