Correctly compute the array size regardless of the element type
[kugel-rb/myfork.git] / manual / plugins / blackjack.tex
blobd391756ff25a095eaadb8a5cf2ab754ebc2773bc
1 \subsection{Blackjack}
2 \screenshot{plugins/images/ss-blackjack}{Blackjack}{fig:blackjack}
4 Blackjack, a game played in casinos around the world, is now available
5 in the palm of your hand! The rules are simple: try to get as close to 21
6 without going over or simply beat out the dealer for the best hand.
7 Although this may not seem difficult, blackjack is a game renowned for the
8 strategy involved. This version includes the ability to split, buy insurance,
9 and double down.
11 For the full set of rules to the game, and other facinating information
12 visit\\
13 \url{http://www.blackjackinfo.com/blackjack-rules.php}
15 \begin{table}
16 \begin{btnmap}{}{}
17 \multicolumn{2}{c}{\textbf{In menu}}\\\hline
18 \opt{RECORDER_PAD,IRIVER_H100_PAD,IRIVER_H300_PAD}{\ButtonOn}
19 \opt{IAUDIO_X5_PAD,IRIVER_H10_PAD,GIGABEAT_S_PAD}{\ButtonPlay}
20 \opt{IPOD_4G_PAD,IPOD_3G_PAD,SANSA_E200_PAD,SANSA_C200_PAD,MROBE100_PAD}{\ButtonSelect}
21 \opt{ONDIO_PAD}{\ButtonMenu}
22 \opt{GIGABEAT_PAD}{\ButtonA}
23 \opt{IRIVER_RC_H100_PAD}{&}
24 & Start new game\\
25 \opt{IRIVER_H100_PAD,IRIVER_H300_PAD}{\ButtonMode}
26 \opt{RECORDER_PAD,IPOD_4G_PAD,IPOD_3G_PAD}{\ButtonPlay}
27 \opt{ONDIO_PAD,IAUDIO_X5_PAD,SANSA_C200_PAD}{\ButtonDown}
28 \opt{IRIVER_H10_PAD}{\ButtonRight}
29 \opt{SANSA_E200_PAD}{\ButtonRec}
30 \opt{GIGABEAT_PAD,GIGABEAT_S_PAD}{\ButtonMenu}
31 \opt{MROBE100_PAD}{\ButtonPlay}
32 \opt{IRIVER_RC_H100_PAD}{&}
33 & Resume saved game\\
34 \opt{IRIVER_H100_PAD,IRIVER_H300_PAD}{\ButtonSelect}
35 \opt{RECORDER_PAD,IAUDIO_X5_PAD,IPOD_4G_PAD,IPOD_3G_PAD,GIGABEAT_PAD%
36 ,GIGABEAT_S_PAD,MROBE100_PAD}{\ButtonRight}
37 \opt{ONDIO_PAD,SANSA_E200_PAD}{\ButtonUp}
38 \opt{IRIVER_H10_PAD}{\ButtonLeft}
39 \opt{SANSA_C200_PAD}{\ButtonRec}
40 \opt{IRIVER_RC_H100_PAD}{&}
41 & Show high scores\\
42 \opt{RECORDER_PAD,ONDIO_PAD,IRIVER_H100_PAD,IRIVER_H300_PAD}{\ButtonOff}
43 \opt{IPOD_4G_PAD,IPOD_3G_PAD}{\ButtonMenu}
44 \opt{IAUDIO_X5_PAD,IRIVER_H10_PAD,SANSA_E200_PAD,SANSA_C200_PAD,GIGABEAT_PAD,MROBE100_PAD}{\ButtonPower}
45 \opt{GIGABEAT_S_PAD}{\ButtonBack}
46 \opt{IRIVER_RC_H100_PAD}{&}
47 & Quit\\\hline
48 \multicolumn{2}{c}{\textbf{In game}}\\\hline
49 \ButtonLeft{} / \ButtonRight{} /\\
50 \opt{RECORDER_PAD,ONDIO_PAD,IRIVER_H100_PAD,IRIVER_H300_PAD,IAUDIO_X5_PAD%
51 ,GIGABEAT_PAD,GIGABEAT_S_PAD,MROBE100_PAD,SANSA_C200_PAD}
52 {\ButtonUp{} / \ButtonDown}
53 \opt{IPOD_4G_PAD,IPOD_3G_PAD,SANSA_E200_PAD}{\ButtonScrollFwd{} / \ButtonScrollBack}
54 \opt{IRIVER_H10_PAD}{\ButtonScrollUp{} / \ButtonScrollDown}
55 \opt{IRIVER_RC_H100_PAD}{&}
56 & Enter betting amount\\
57 \opt{RECORDER_PAD}{\ButtonFOne}
58 \opt{IRIVER_H100_PAD,IRIVER_H300_PAD}{\ButtonOn}
59 \opt{IRIVER_H10_PAD}{\ButtonPlay}
60 \opt{IPOD_4G_PAD,IPOD_3G_PAD,IAUDIO_X5_PAD,SANSA_E200_PAD,SANSA_C200_PAD}{\ButtonSelect}
61 \opt{ONDIO_PAD}{\ButtonLeft}
62 \opt{GIGABEAT_PAD,GIGABEAT_S_PAD}{\ButtonVolUp}
63 \opt{MR100_PAD}{\ButtonMenu}
64 \opt{IRIVER_RC_H100_PAD}{&}
65 & Hit (Draw new card)\\
66 \opt{RECORDER_PAD}{\ButtonFTwo}
67 \opt{IRIVER_H100_PAD,IRIVER_H300_PAD,IAUDIO_X5_PAD}{\ButtonRec}
68 \opt{IRIVER_H10_PAD}{\ButtonFF}
69 \opt{ONDIO_PAD,IPOD_4G_PAD,IPOD_3G_PAD,SANSA_E200_PAD,SANSA_C200_PAD}{\ButtonRight}
70 \opt{GIGABEAT_PAD,GIGABEAT_S_PAD}{\ButtonVolDown}
71 \opt{MROBE100_PAD}{\ButtonDisplay}
72 \opt{IRIVER_RC_H100_PAD}{&}
73 & Stay (End hand)\\
74 \opt{RECORDER_PAD}{\ButtonFThree}
75 \opt{IRIVER_H100_PAD,IRIVER_H300_PAD,GIGABEAT_PAD,GIGABEAT_S_PAD}{\ButtonSelect}
76 \opt{IAUDIO_X5_PAD}{\ButtonPlay}
77 \opt{IRIVER_H10_PAD}{\ButtonRew}
78 \opt{ONDIO_PAD}{\ButtonUp}
79 \opt{MR100_PAD}{\ButtonDown}
80 \opt{IPOD_4G_PAD,IPOD_3G_PAD,SANSA_E200_PAD,SANSA_C200_PAD}{\ButtonLeft}
81 \opt{IRIVER_RC_H100_PAD}{&}
82 & Double down\\
83 \opt{IRIVER_H100_PAD,IRIVER_H300_PAD}{\ButtonMode}
84 \opt{RECORDER_PAD,IPOD_4G_PAD,IPOD_3G_PAD}{\ButtonPlay}
85 \opt{ONDIO_PAD,IAUDIO_X5_PAD,SANSA_C200_PAD}{\ButtonDown}
86 \opt{IRIVER_H10_PAD}{\ButtonRight}
87 \opt{SANSA_E200_PAD}{\ButtonRec}
88 \opt{GIGABEAT_PAD,GIGABEAT_S_PAD}{\ButtonMenu}
89 \opt{MROBE100_PAD}{\ButtonPlay}
90 \opt{IRIVER_RC_H100_PAD}{&}
91 & Save game\\
92 \opt{RECORDER_PAD,ONDIO_PAD,IRIVER_H100_PAD,IRIVER_H300_PAD}{\ButtonOff}
93 \opt{IPOD_4G_PAD,IPOD_3G_PAD}{\ButtonMenu}
94 \opt{IAUDIO_X5_PAD,IRIVER_H10_PAD,SANSA_E200_PAD,SANSA_C200_PAD,GIGABEAT_PAD,MROBE100_PAD}{\ButtonPower}
95 \opt{GIGABEAT_S_PAD}{\ButtonBack}
96 \opt{IRIVER_RC_H100_PAD}{&}
97 & Return to menu or cancel\\
98 \end{btnmap}
99 \end{table}