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