cowond2: make sure the i2c delay loop code is actually generated by the eabi compiler.
[kugel-rb.git] / manual / plugins / sokoban.tex
blob4af132a49be8549bf9aea0d2d7940dcb6868b845
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{btnmap}
15 \multicolumn{2}{c}{\textbf{In game}} \\
16 \hline
17 \opt{RECORDER_PAD,ARCHOS_AV300_PAD,ONDIO_PAD,IRIVER_H100_PAD,IRIVER_H300_PAD%
18 ,IAUDIO_X5_PAD,GIGABEAT_PAD,GIGABEAT_S_PAD,MROBE100_PAD,SANSA_E200_PAD%
19 ,SANSA_FUZE_PAD,SANSA_C200_PAD,PBELL_VIBE500_PAD}
20 {\ButtonUp, \ButtonDown, }%
21 \opt{IPOD_4G_PAD,IPOD_3G_PAD}{\ButtonMenu, \ButtonPlay, }%
22 \opt{IRIVER_H10_PAD}{\ButtonScrollUp, \ButtonScrollDown, }%
23 \opt{RECORDER_PAD,ARCHOS_AV300_PAD,ONDIO_PAD,IRIVER_H100_PAD,IRIVER_H300_PAD%
24 ,IAUDIO_X5_PAD,GIGABEAT_PAD,GIGABEAT_S_PAD,MROBE100_PAD,SANSA_E200_PAD%
25 ,SANSA_FUZE_PAD,SANSA_C200_PAD,IPOD_4G_PAD,IPOD_3G_PAD,IRIVER_H10_PAD,PBELL_VIBE500_PAD}
26 {\ButtonLeft, \ButtonRight}
27 \opt{COWON_D2_PAD}
28 {\TouchTopMiddle, \TouchBottomMiddle, \TouchMidLeft, \TouchMidRight}
29 \opt{HAVEREMOTEKEYMAP}{& }
30 & Move the ``sokoban'' up, down, left, or right\\
31 \opt{RECORDER_PAD,ARCHOS_AV300_PAD,ONDIO_PAD,IRIVER_H100_PAD,IRIVER_H300_PAD}{\ButtonOff}
32 \opt{IPOD_4G_PAD,IPOD_3G_PAD}{\ButtonSelect+\ButtonMenu}
33 \opt{IAUDIO_X5_PAD,IRIVER_H10_PAD,GIGABEAT_PAD,MROBE100_PAD,SANSA_E200_PAD,SANSA_C200_PAD}{\ButtonPower}
34 \opt{SANSA_FUZE_PAD}{Long \ButtonHome}
35 \opt{GIGABEAT_S_PAD,COWON_D2_PAD}{\ButtonMenu}
36 \opt{PBELL_VIBE500_PAD}{\ButtonRec}
37 \opt{HAVEREMOTEKEYMAP}{&
38 \opt{IRIVER_RC_H100_PAD}{\ButtonRCStop}
40 & Menu \\
41 \nopt{IAUDIO_X5_PAD}{
42 \opt{RECORDER_PAD,ARCHOS_AV300_PAD}{\ButtonFOne}
43 \opt{ONDIO_PAD}{\ButtonMenu+\ButtonLeft}
44 \opt{IRIVER_H100_PAD,IRIVER_H300_PAD}{\ButtonOn+\ButtonDown}
45 \opt{IPOD_4G_PAD,IPOD_3G_PAD}{\ButtonSelect+\ButtonLeft}
46 \opt{IRIVER_H10_PAD}{\ButtonPlay+\ButtonScrollDown}
47 \opt{GIGABEAT_PAD,SANSA_C200_PAD}{\ButtonVolDown}
48 \opt{MROBE10_PAD}{\ButtonDisplay}
49 \opt{SANSA_E200_PAD,SANSA_FUZE_PAD}{\ButtonSelect+\ButtonDown}
50 \opt{GIGABEAT_S_PAD}{\ButtonPrev}
51 \opt{COWON_D2_PAD}{\ButtonMinus}
52 \opt{PBELL_VIBE500_PAD}{\ButtonOK+\ButtonLeft}
53 \opt{HAVEREMOTEKEYMAP}{& }
54 & Back to previous level \\
56 \nopt{IPOD_4G_PAD,IPOD_3G_PAD}{
57 \opt{RECORDER_PAD,ARCHOS_AV300_PAD}{\ButtonFTwo}
58 \opt{ONDIO_PAD}{\ButtonMenu+\ButtonUp}
59 \opt{IRIVER_H100_PAD,IRIVER_H300_PAD}{\ButtonOn}
60 \opt{IAUDIO_X5_PAD}{\ButtonRec}
61 \opt{IRIVER_H10_PAD}{\ButtonPlay+\ButtonRight}
62 \opt{GIGABEAT_PAD,MROBE100_PAD}{\ButtonMenu}
63 \opt{SANSA_E200_PAD,SANSA_FUZE_PAD,SANSA_C200_PAD}{\ButtonSelect+\ButtonRight}
64 \opt{GIGABEAT_S_PAD}{\ButtonPlay}
65 \opt{COWON_D2_PAD}{\TouchTopRight}
66 \opt{PBELL_VIBE500_PAD}{\ButtonOK+\ButtonCancel}
67 \opt{HAVEREMOTEKEYMAP}{& }
68 & Restart level \\
70 \nopt{IAUDIO_X5_PAD}{
71 \opt{RECORDER_PAD,ARCHOS_AV300_PAD}{\ButtonFThree}
72 \opt{ONDIO_PAD}{\ButtonMenu+\ButtonRight}
73 \opt{IRIVER_H100_PAD,IRIVER_H300_PAD}{\ButtonOn+\ButtonUp}
74 \opt{IPOD_4G_PAD,IPOD_3G_PAD}{\ButtonSelect+\ButtonRight}
75 \opt{IRIVER_H10_PAD}{\ButtonPlay+\ButtonScrollUp}
76 \opt{GIGABEAT_PAD,SANSA_C200_PAD}{\ButtonVolUp}
77 \opt{GIGABEAT_S_PAD}{\ButtonNext}
78 \opt{MROBE100_PAD}{\ButtonPlay}
79 \opt{SANSA_E200_PAD,SANSA_FUZE_PAD}{\ButtonSelect+\ButtonUp}
80 \opt{COWON_D2_PAD}{\ButtonPlus}
81 \opt{PBELL_VIBE500_PAD}{\ButtonOK+\ButtonRight}
82 \opt{HAVEREMOTEKEYMAP}{& }
83 & Go to next level \\
85 \opt{RECORDER_PAD,ARCHOS_AV300_PAD}{\ButtonOn}
86 \opt{ONDIO_PAD}{\ButtonMenu}
87 \opt{IRIVER_H100_PAD,IRIVER_H300_PAD}{\ButtonRec}
88 \opt{IPOD_4G_PAD,IPOD_3G_PAD,IAUDIO_X5_PAD,GIGABEAT_PAD,MROBE100_PAD,SANSA_E200_PAD,SANSA_FUZE_PAD,SANSA_C200_PAD}{\ButtonSelect}
89 \opt{IRIVER_H10_PAD}{\ButtonRew}
90 \opt{GIGABEAT_S_PAD}{\ButtonVolUp}
91 \opt{COWON_D2_PAD}{\TouchTopRight}
92 \opt{PBELL_VIBE500_PAD}{\ButtonCancel}
93 \opt{HAVEREMOTEKEYMAP}{& }
94 & Undo last movement \\
96 \opt{RECORDER_PAD,ARCHOS_AV300_PAD,IAUDIO_X5_PAD}{\ButtonPlay}
97 \opt{ONDIO_PAD}{\ButtonMenu+\ButtonDown}
98 \opt{IRIVER_H100_PAD,IRIVER_H300_PAD}{\ButtonMode}
99 \opt{IPOD_4G_PAD,IPOD_3G_PAD}{\ButtonSelect+\ButtonPlay}
100 \opt{IRIVER_H10_PAD}{\ButtonFF}
101 \opt{GIGABEAT_PAD}{\ButtonA}
102 \opt{GIGABEAT_S_PAD}{\ButtonVolDown}
103 \opt{MROBE100_PAD}{\ButtonDisplay}
104 \opt{SANSA_E200_PAD,SANSA_C200_PAD}{\ButtonRec}
105 \opt{SANSA_FUZE_PAD}{\ButtonSelect+\ButtonLeft}
106 \opt{COWON_D2_PAD}{\TouchBottomLeft}
107 \opt{PBELL_VIBE500_PAD}{\ButtonOK}
108 \opt{HAVEREMOTEKEYMAP}{& }
109 & Redo previously undone move \\
110 \hline
111 \multicolumn{2}{c}{\textbf{Solution playback}} \\
112 \hline
113 \opt{RECORDER_PAD,ARCHOS_AV300_PAD,IAUDIO_X5_PAD,IRIVER_H10_PAD}{\ButtonPlay}
114 \opt{ONDIO_PAD}{\ButtonMenu}
115 \opt{IRIVER_H100_PAD,IRIVER_H300_PAD}{\ButtonOn}
116 \opt{IPOD_4G_PAD,IPOD_3G_PAD,GIGABEAT_PAD,GIGABEAT_S_PAD,MROBE100_PAD%
117 ,SANSA_E200_PAD,SANSA_FUZE_PAD,SANSA_C200_PAD}{\ButtonSelect}
118 \opt{COWON_D2_PAD}{\TouchCenter}
119 \opt{HAVEREMOTEKEYMAP}{& }
120 & Pause/resume \\
121 \opt{RECORDER_PAD,ARCHOS_AV300_PAD,ONDIO_PAD,IRIVER_H100_PAD,IRIVER_H300_PAD%
122 ,IAUDIO_X5_PAD,GIGABEAT_PAD,GIGABEAT_S_PAD,MROBE100_PAD,SANSA_E200_PAD%
123 ,SANSA_FUZE_PAD,SANSA_C200_PAD}
124 {\ButtonUp/\ButtonDown}
125 \opt{IPOD_4G_PAD,IPOD_3G_PAD}{\ButtonMenu/\ButtonPlay}
126 \opt{IRIVER_H10_PAD}{\ButtonScrollUp/\ButtonScrollDown}
127 \opt{COWON_D2_PAD}{\TouchTopMiddle/\TouchBottomMiddle}
128 \opt{HAVEREMOTEKEYMAP}{& }
129 & Increase/decrease playback speed \\
130 \opt{RECORDER_PAD,ARCHOS_AV300_PAD,IAUDIO_X5_PAD,IRIVER_H10_PAD,ONDIO_PAD%
131 ,IRIVER_H100_PAD,IRIVER_H300_PAD,IPOD_4G_PAD,IPOD_3G_PAD,GIGABEAT_PAD%
132 ,GIGABEAT_S_PAD,MROBE100_PAD,SANSA_E200_PAD,SANSA_FUZE_PAD,SANSA_C200_PAD}
133 {\ButtonLeft/\ButtonRight}
134 \opt{COWON_D2_PAD}{\TouchMidLeft/\TouchMidRight}
135 \opt{HAVEREMOTEKEYMAP}{& }
136 & Go backward/forward (while paused) \\
137 \opt{RECORDER_PAD,ARCHOS_AV300_PAD,ONDIO_PAD,IRIVER_H100_PAD,IRIVER_H300_PAD}{\ButtonOff}
138 \opt{IPOD_4G_PAD,IPOD_3G_PAD}{\ButtonSelect+\ButtonMenu}
139 \opt{IAUDIO_X5_PAD,IRIVER_H10_PAD,GIGABEAT_PAD,MROBE100_PAD,SANSA_E200_PAD,SANSA_C200_PAD}{\ButtonPower}
140 \opt{SANSA_FUZE_PAD}{Long \ButtonHome}
141 \opt{GIGABEAT_S_PAD,COWON_D2_PAD}{\ButtonMenu}
142 \opt{HAVEREMOTEKEYMAP}{& }
143 & Quit \\
144 \end{btnmap}
146 Some places where can you can find level sets:
147 \begin{itemize}
148 \item \url{http://www.sourcecode.se/sokoban/levels.php}
149 \item \url{http://sokobano.de/en/levels.php}
150 \end{itemize}
151 Note that some level sets may contain levels that are too large for this
152 version of Sokoban and are unplayable as a result.