|
3 | 3 | @documentencoding UTF-8 |
4 | 4 |
|
5 | 5 | @setfilename blackjack.info |
6 | | -@set UPDATED 2025-10-15 |
| 6 | +@set UPDATED 2025-11-10 |
7 | 7 | @set VERSION |
8 | 8 |
|
9 | 9 | @copying |
@@ -31,7 +31,7 @@ Texts. A copy of the license is included in the section entitled |
31 | 31 | @titlepage |
32 | 32 | @title Libre@ Blackjack |
33 | 33 | @author Jeremy Theler |
34 | | -2025-10-15 |
| 34 | +2025-11-10 |
35 | 35 | @page |
36 | 36 | @vskip 0pt plus 1filll |
37 | 37 | @insertcopying |
@@ -1043,44 +1043,47 @@ decks = 1 # number of decks, negative means infinite |
1043 | 1043 | @item |
1044 | 1044 | @code{dealer} (sec.@ 4.1.4) |
1045 | 1045 | @item |
1046 | | -@code{decks} (sec.@ 4.1.5) |
| 1046 | +@code{dealer_draws_even_if_player_busted} (sec.@ 4.1.5) |
1047 | 1047 | @item |
1048 | | -@code{flat_bet} (sec.@ 4.1.6) |
| 1048 | +@code{decks} (sec.@ 4.1.6) |
1049 | 1049 | @item |
1050 | | -@code{hands} (sec.@ 4.1.7) |
| 1050 | +@code{flat_bet} (sec.@ 4.1.7) |
1051 | 1051 | @item |
1052 | | -@code{maximum_bet} (sec.@ 4.1.8) |
| 1052 | +@code{hands} (sec.@ 4.1.8) |
1053 | 1053 | @item |
1054 | | -@code{max_incorrect_commands} (sec.@ 4.1.9) |
| 1054 | +@code{maximum_bet} (sec.@ 4.1.9) |
1055 | 1055 | @item |
1056 | | -@code{new_hand_reset_cards} (sec.@ 4.1.10) |
| 1056 | +@code{max_incorrect_commands} (sec.@ 4.1.10) |
1057 | 1057 | @item |
1058 | | -@code{no_insurance} (sec.@ 4.1.11) |
| 1058 | +@code{new_hand_reset_cards} (sec.@ 4.1.11) |
1059 | 1059 | @item |
1060 | | -@code{number_of_burnt_cards} (sec.@ 4.1.12) |
| 1060 | +@code{no_insurance} (sec.@ 4.1.12) |
1061 | 1061 | @item |
1062 | | -@code{penetration} (sec.@ 4.1.13) |
| 1062 | +@code{number_of_burnt_cards} (sec.@ 4.1.13) |
1063 | 1063 | @item |
1064 | | -@code{penetration_sigma} (sec.@ 4.1.14) |
| 1064 | +@code{penetration} (sec.@ 4.1.14) |
1065 | 1065 | @item |
1066 | | -@code{player} (sec.@ 4.1.15) |
| 1066 | +@code{penetration_sigma} (sec.@ 4.1.15) |
1067 | 1067 | @item |
1068 | | -@code{quit_when_arranged_cards_run_out} (sec.@ 4.1.16) |
| 1068 | +@code{player} (sec.@ 4.1.16) |
1069 | 1069 | @item |
1070 | | -@code{resplits} (sec.@ 4.1.17) |
| 1070 | +@code{quit_when_arranged_cards_run_out} (sec.@ 4.1.17) |
1071 | 1071 | @item |
1072 | | -@code{rng_seed} (sec.@ 4.1.18) |
| 1072 | +@code{resplits} (sec.@ 4.1.18) |
1073 | 1073 | @item |
1074 | | -@code{rules} (sec.@ 4.1.19) |
| 1074 | +@code{rng_seed} (sec.@ 4.1.19) |
1075 | 1075 | @item |
1076 | | -@code{shuffle_every_hand} (sec.@ 4.1.20) |
| 1076 | +@code{rules} (sec.@ 4.1.20) |
| 1077 | +@item |
| 1078 | +@code{shuffle_every_hand} (sec.@ 4.1.21) |
1077 | 1079 | @end itemize |
1078 | 1080 |
|
1079 | 1081 | @menu |
1080 | 1082 | * @code{blackjack_pays =} @math{r}:: |
1081 | 1083 | * @code{cards =} @math{\text{list of cards}}:: |
1082 | 1084 | * @code{cards_file =} @math{\text{path to file}}:: |
1083 | 1085 | * @code{dealer =} @emph{game}:: |
| 1086 | +* @code{dealer_draws_even_if_player_busted =} @math{b}:: |
1084 | 1087 | * @code{decks =} @math{n}:: |
1085 | 1088 | * @code{flat_bet =} @math{b}:: |
1086 | 1089 | * @code{hands =} @math{n}:: |
@@ -1153,14 +1156,18 @@ the hand is over and @code{new_hand_reset_cards} is @code{true}, or |
1153 | 1156 | program exits. |
1154 | 1157 | @end enumerate |
1155 | 1158 |
|
| 1159 | +A zero or @code{XX} means a placeholder for an actual random card. So |
| 1160 | +for example @code{JS XX AC} will give the Jack of Spades, a random card |
| 1161 | +and te Ace of Clubs. |
| 1162 | + |
1156 | 1163 | @strong{Default} Empty list |
1157 | 1164 |
|
1158 | 1165 | @strong{Examples} |
1159 | 1166 |
|
1160 | 1167 | @verbatim |
1161 | 1168 | cards = TH JD 6C |
1162 | | -cards = 2S 5D QS AC |
1163 | | -cards = 8D QH TC 2C KD 7S 8S TD AH 5C |
| 1169 | +cards = 2S XX QS AC |
| 1170 | +cards = 8D QH XX 2C KD 7S XX TD AH 5C |
1164 | 1171 | @end verbatim |
1165 | 1172 |
|
1166 | 1173 | @node @code{cards_file =} @math{\text{path to file}} |
@@ -1191,6 +1198,26 @@ is @code{blackjack}. |
1191 | 1198 | dealer = blackjack |
1192 | 1199 | @end verbatim |
1193 | 1200 |
|
| 1201 | +@node @code{dealer_draws_even_if_player_busted =} @math{b} |
| 1202 | +@subsection @code{dealer_draws_even_if_player_busted =} @math{b} |
| 1203 | +The usual rule in casinos is that if all player busted all hands |
| 1204 | +(including split hands), the dealer does not have to draw until sixteen |
| 1205 | +(or soft seventeen) but the hand is finihsed and the next card in the |
| 1206 | +shoe (or shuffler) is the player's first card of the next hand. Yet, |
| 1207 | +this rule may distort some statistics such as dealer's bust rate because |
| 1208 | +for sure he will not bust that hand. This flag can modify the dealer's |
| 1209 | +behavior and, if true, the dealer will draw cards as normal even if the |
| 1210 | +player had busted all her hands. |
| 1211 | + |
| 1212 | +@strong{Default} @code{false} |
| 1213 | + |
| 1214 | +@strong{Examples} |
| 1215 | + |
| 1216 | +@verbatim |
| 1217 | +dealer_draws_even_if_player_busted = false |
| 1218 | +dealer_draws_even_if_player_busted = true |
| 1219 | +@end verbatim |
| 1220 | + |
1194 | 1221 | @node @code{decks =} @math{n} |
1195 | 1222 | @subsection @code{decks =} @math{n} |
1196 | 1223 | Sets the number of decks used in the game. If @math{n} is zero, the |
|
0 commit comments