diff options
| author | salmonik <salmonik@tuta.io> | 2026-10-29 18:43:09 +0100 |
|---|---|---|
| committer | salmonik <salmonik@tuta.io> | 2026-10-29 18:43:09 +0100 |
| commit | 08269639606c0481037cbde7ebaf2e0455460883 (patch) | |
| tree | 57c1f967e8836a1a7da84b1887d932e0067d538f /docs/TESTING.md | |
| parent | v2.2.0: add blackjack with reserved bets and hit/stand/double (diff) | |
| download | zagan-bet-08269639606c0481037cbde7ebaf2e0455460883.tar.gz zagan-bet-08269639606c0481037cbde7ebaf2e0455460883.zip | |
v2.2.1: forfeit blackjack bets when leaving or disconnecting
Diffstat (limited to 'docs/TESTING.md')
| -rw-r--r-- | docs/TESTING.md | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/docs/TESTING.md b/docs/TESTING.md index ed2f746..ec5c681 100644 --- a/docs/TESTING.md +++ b/docs/TESTING.md | |||
| @@ -87,10 +87,11 @@ Use an 80-column terminal because several output lines are width-sensitive. | |||
| 87 | D is only offered on the first two cards and reserves the extra bet. | 87 | D is only offered on the first two cards and reserves the extra bet. |
| 88 | 3. Stand and check the dealer stands on all 17s. Check a dealer bust pays the | 88 | 3. Stand and check the dealer stands on all 17s. Check a dealer bust pays the |
| 89 | player, and a natural blackjack pays 3:2. | 89 | player, and a natural blackjack pays 3:2. |
| 90 | 4. Q during a hand sends cancel and refunds the reserved bet; Q after a hand | 90 | 4. Q during a hand forfeits the reserved bet (it is **not** refunded); Q after |
| 91 | just leaves. Disconnecting mid-hand also refunds it. | 91 | a hand just leaves. Disconnecting mid-hand also forfeits it. |
| 92 | 5. Check the audit row: `game_type = blackjack`, the total bet (including a | 92 | 5. Check the audit row: `game_type = blackjack`, the total bet (including a |
| 93 | double), winnings, and the final cards/result in `details`. | 93 | double), winnings, and the final cards/result in `details`. A forfeit has |
| 94 | `result = forfeit`, `winnings = 0`. | ||
| 94 | 95 | ||
| 95 | ## Manual server checks | 96 | ## Manual server checks |
| 96 | 97 | ||
