Correctly compute the array size regardless of the element type
[kugel-rb/myfork.git] / manual / plugins / sliding.tex
blob8d469e380656668f03506b6b78ee6ab4f2740044
1 \subsection{Sliding Puzzle}
2 \screenshot{plugins/images/ss-sliding}{Sliding puzzle}{img:slidingpuzzle}
4 The classic sliding puzzle game. Rearrange the pieces so that you can
5 see the whole picture, or switch to number tiles if you like it a little easier
7 Key controls:
9 \begin{table}
10 \begin{btnmap}{}{}
11 \opt{RECORDER_PAD,ONDIO_PAD,IRIVER_H100_PAD,IRIVER_H300_PAD,IAUDIO_X5_PAD%
12 ,SANSA_E200_PAD,SANSA_C200_PAD,GIGABEAT_PAD,GIGABEAT_S_PAD,MROBE100_PAD}
13 {\ButtonLeft, \ButtonRight, \ButtonUp\ and \ButtonDown}
14 \opt{IPOD_4G_PAD,IPOD_3G_PAD}
15 {\ButtonLeft{} / \ButtonRight{} / \ButtonMenu{} / \ButtonPlay}
16 \opt{IRIVER_H10_PAD}
17 {\ButtonLeft{} / \ButtonRight{} / \ButtonScrollUp{} / \ButtonScrollDown}
18 \opt{IRIVER_RC_H100_PAD}{&}
19 & Move Tile \\
21 \opt{RECORDER_PAD}{\ButtonFOne}
22 \opt{ONDIO_PAD}{Long \ButtonMenu}
23 \opt{IRIVER_H100_PAD,IRIVER_H300_PAD,GIGABEAT_PAD,GIGABEAT_S_PAD,MROBE100_PAD}
24 {\ButtonSelect}
25 \opt{IAUDIO_X5_PAD,SANSA_E200_PAD,SANSA_C200_PAD}{\ButtonRec}
26 \opt{IPOD_4G_PAD,IPOD_3G_PAD}{\ButtonSelect+\ButtonLeft}
27 \opt{IRIVER_H10_PAD}{\ButtonRew}
28 \opt{IRIVER_RC_H100_PAD}{&}
29 & Shuffle \\
31 \opt{RECORDER_PAD}{\ButtonFTwo}
32 \opt{ONDIO_PAD}{\ButtonMenu}
33 \opt{IRIVER_H100_PAD,IRIVER_H300_PAD}{\ButtonOn}
34 \opt{IAUDIO_X5_PAD,IRIVER_H10_PAD}{\ButtonPlay}
35 \opt{IPOD_4G_PAD,IPOD_3G_PAD}{\ButtonSelect+\ButtonRight}
36 \opt{SANSA_E200_PAD,SANSA_C200_PAD}{\ButtonSelect}
37 \opt{GIGABEAT_PAD}{\ButtonA}
38 \opt{MROBE100_PAD}{\ButtonDisplay}
39 \opt{GIGABEAT_S_PAD}{\ButtonMenu}
40 \opt{IRIVER_RC_H100_PAD}{&}
41 & Change between picture and numbered tiles \\
43 \opt{RECORDER_PAD,ONDIO_PAD,IRIVER_H100_PAD,IRIVER_H300_PAD}{\ButtonOff}
44 \opt{IAUDIO_X5_PAD,IRIVER_H10_PAD,SANSA_E200_PAD,SANSA_C200_PAD,GIGABEAT_PAD%
45 ,MROBE100_PAD}{\ButtonPower}
46 \opt{IPOD_4G_PAD,IPOD_3G_PAD}{\ButtonSelect+\ButtonMenu}
47 \opt{GIGABEAT_S_PAD}{\ButtonBack}
48 \opt{IRIVER_RC_H100_PAD}{&}
49 & Stop the game \\
50 \end{btnmap}
51 \end{table}