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