Minor speed optimization to m4a lookup table build up.
[kugel-rb.git] / manual / plugins / chess_clock.tex
blob1ee3cb14b91a019ec0fb93d936d580fa14c63495
1 % $Id$ %
2 \subsection{Chess Clock}
3 \screenshot{plugins/images/ss-chess_clock}{Chess Clock}{img:chessclock}
4 The chess clock plugin is designed to simulate a chess clock, but it can be
5 used in any kind of game with up to ten players.
7 \subsubsection{Setup}
8 \begin{btnmap}
9 \opt{PLAYER_PAD,IRIVER_H100_PAD,IRIVER_H300_PAD,IAUDIO_X5_PAD,IRIVER_H10_PAD%
10 ,SANSA_E200_PAD,SANSA_C200_PAD,SANSA_FUZE_PAD}
11 {\ButtonRight{} / \ButtonLeft}
12 \opt{RECORDER_PAD,ONDIO_PAD,GIGABEAT_PAD,GIGABEAT_S_PAD,MROBE100_PAD,PBELL_VIBE500_PAD}
13 {\ButtonUp{} / \ButtonDown}
14 \opt{IPOD_4G_PAD,IPOD_3G_PAD}{\ButtonScrollBack{} / \ButtonScrollFwd}
15 \opt{HAVEREMOTEKEYMAP}{& }
16 & Increase / decrease displayed Value\\
18 \opt{PLAYER_PAD,RECORDER_PAD,IRIVER_H10_PAD}{\ButtonPlay}
19 \opt{IRIVER_H100_PAD,IRIVER_H300_PAD}{\ButtonOn}
20 \opt{ONDIO_PAD}{\ButtonRight}
21 \opt{IPOD_4G_PAD,IPOD_3G_PAD,IAUDIO_X5_PAD,SANSA_E200_PAD,SANSA_C200_PAD%
22 ,GIGABEAT_PAD,GIGABEAT_S_PAD,MROBE100_PAD,SANSA_FUZE_PAD}{\ButtonSelect}
23 \opt{PBELL_VIBE500_PAD}{\ButtonOK}
24 \opt{HAVEREMOTEKEYMAP}{& }
25 & Move to next screen\\
27 \opt{PLAYER_PAD}{\ButtonStop}
28 \opt{ONDIO_PAD,IPOD_4G_PAD,IPOD_3G_PAD}{\ButtonMenu}
29 \opt{RECORDER_PAD,IRIVER_H100_PAD,IRIVER_H300_PAD}{\ButtonOff}
30 \opt{IAUDIO_X5_PAD}{\ButtonRec}
31 \opt{IRIVER_H10_PAD,SANSA_E200_PAD,SANSA_C200_PAD,GIGABEAT_PAD,MROBE100_PAD}{\ButtonPower}
32 \opt{SANSA_FUZE_PAD}{Long \ButtonHome}
33 \opt{GIGABEAT_S_PAD}{\ButtonBack}
34 \opt{PBELL_VIBE500_PAD}{\ButtonCancel}
35 \opt{HAVEREMOTEKEYMAP}{& }
36 & Move to previous screen\\
37 \end{btnmap}
39 \begin{itemize}
40 \item First enter the number of players (1--10)
41 \item Then set the total game time in mm:ss
42 \item Then the maximum round time is entered. For example, this could
43 be used to play Scrabble for a maximum of 15 minutes each, with each
44 round taking no longer than one minute.
45 \item Done. Player 1 starts in paused mode.
46 \end{itemize}
48 \subsubsection{While playing}
49 The number of the current player is displayed on the top line. The time
50 below is the time remaining for that round (and possibly also the total
51 time left if different).
53 Keys are as follows:
55 \begin{btnmap}
56 \opt{PLAYER_PAD}{\ButtonOn}
57 \opt{RECORDER_PAD,ONDIO_PAD}{\ButtonOff}
58 \opt{IRIVER_H100_PAD,IRIVER_H300_PAD}{\ButtonSelect}
59 \opt{IPOD_4G_PAD,IPOD_3G_PAD}{\ButtonPlay}
60 \opt{IAUDIO_X5_PAD}{\ButtonRec}
61 \opt{IRIVER_H10_PAD,SANSA_E200_PAD,SANSA_C200_PAD,GIGABEAT_PAD,MROBE100_PAD}{\ButtonPower}
62 \opt{SANSA_FUZE_PAD}{\ButtonPower}
63 \opt{GIGABEAT_S_PAD}{\ButtonBack}
64 \opt{PBELL_VIBE500_PAD}{\ButtonRec}
65 \opt{HAVEREMOTEKEYMAP}{& }
66 & Exit plugin \\
68 \opt{PLAYER_PAD}{\ButtonStop}
69 \opt{RECORDER_PAD,ONDIO_PAD,IPOD_4G_PAD,IPOD_3G_PAD,PBELL_VIBE500_PAD}{\ButtonLeft}
70 \opt{IRIVER_H100_PAD,IRIVER_H300_PAD}{\ButtonOff}
71 \opt{IAUDIO_X5_PAD}{\ButtonPower}
72 \opt{IRIVER_H10_PAD}{\ButtonFF}
73 \opt{SANSA_E200_PAD,SANSA_C200_PAD,SANSA_FUZE_PAD}{\ButtonDown}
74 \opt{GIGABEAT_PAD}{\ButtonA}
75 \opt{GIGABEAT_S_PAD}{\ButtonPrev}
76 \opt{MROBE100_PAD}{\ButtonDisplay}
77 \opt{HAVEREMOTEKEYMAP}{& }
78 & Restart round for the current player \\
80 \opt{PLAYER_PAD,RECORDER_PAD,IAUDIO_X5_PAD,IRIVER_H10_PAD,GIGABEAT_S_PAD}{\ButtonPlay}
81 \opt{IRIVER_H100_PAD,IRIVER_H300_PAD}{\ButtonOn}
82 \opt{ONDIO_PAD}{\ButtonRight}
83 \opt{IPOD_4G_PAD,IPOD_3G_PAD,SANSA_E200_PAD,SANSA_C200_PAD,GIGABEAT_PAD%
84 ,MROBE100_PAD,SANSA_FUZE_PAD}
85 {\ButtonSelect}
86 \opt{PBELL_VIBE500_PAD}{\ButtonPlay}
87 \opt{HAVEREMOTEKEYMAP}{& }
88 & Pause the time (press again to continue) \\
90 \opt{PLAYER_PAD,IRIVER_H100_PAD,IRIVER_H300_PAD,IAUDIO_X5_PAD,IRIVER_H10_PAD%
91 ,SANSA_E200_PAD,SANSA_C200_PAD,SANSA_FUZE_PAD}{\ButtonRight}
92 \opt{RECORDER_PAD,ONDIO_PAD,GIGABEAT_PAD,GIGABEAT_S_PAD,MROBE100_PAD,PBELL_VIBE500_PAD}
93 {\ButtonUp}
94 \opt{IPOD_4G_PAD,IPOD_3G_PAD}{\ButtonScrollBack}
95 \opt{HAVEREMOTEKEYMAP}{& }
96 & Switch to next player \\
98 \opt{PLAYER_PAD,IRIVER_H100_PAD,IRIVER_H300_PAD,IAUDIO_X5_PAD,IRIVER_H10_PAD%
99 ,SANSA_E200_PAD,SANSA_C200_PAD,SANSA_FUZE_PAD}{\ButtonLeft}
100 \opt{RECORDER_PAD,ONDIO_PAD,GIGABEAT_PAD,GIGABEAT_S_PAD,MROBE100_PAD,PBELL_VIBE500_PAD}
101 {\ButtonDown}
102 \opt{IPOD_4G_PAD,IPOD_3G_PAD}{\ButtonScrollFwd}
103 \opt{HAVEREMOTEKEYMAP}{& }
104 & Switch to previous player \\
106 \opt{PLAYER_PAD,ONDIO_PAD,IPOD_4G_PAD,IPOD_3G_PAD,GIGABEAT_PAD,GIGABEAT_S_PAD%
107 ,MROBE100_PAD,PBELL_VIBE500_PAD}{\ButtonMenu}
108 \opt{RECORDER_PAD}{\ButtonFOne}
109 \opt{IRIVER_H100_PAD,IRIVER_H300_PAD}{\ButtonRec}
110 \opt{IAUDIO_X5_PAD}{\ButtonSelect}
111 \opt{IRIVER_H10_PAD}{\ButtonRew}
112 \opt{SANSA_E200_PAD,SANSA_C200_PAD,SANSA_FUZE_PAD}{\ButtonUp}
113 \opt{HAVEREMOTEKEYMAP}{& }
114 & Open menu %
115 \opt{PLAYER_PAD,RECORDER_PAD,IRIVER_H10_PAD}{(\ButtonPlay\ to select.)}%
116 \opt{IRIVER_H100_PAD,IRIVER_H300_PAD}{(\ButtonOn\ to select.)}%
117 \opt{ONDIO_PAD}{(\ButtonRight\ to select.)}%
118 \opt{IPOD_4G_PAD,IPOD_3G_PAD,SANSA_E200_PAD,SANSA_C200_PAD,GIGABEAT_PAD%
119 ,GIGABEAT_S_PAD,MROBE100_PAD,SANSA_FUZE_PAD}
120 {(\ButtonSelect\ to select.)}%
121 \opt{IAUDIO_X5_PAD}{(press again to select.)}\\
122 \end{btnmap}
123 From the menu it is possible to delete a player, modify the round time
124 for the current player or set the total time for the game. When the round time
125 is up for a player the message ``ROUND UP!'' is shown (press NEXT to
126 continue). When the total time is up for a player the message ``TIME UP!''is
127 shown. The player will then be removed from the timer.