diff options
| author | salmonik <salmonik@tuta.io> | 2026-11-01 16:17:19 +0100 |
|---|---|---|
| committer | salmonik <salmonik@tuta.io> | 2026-11-01 16:17:19 +0100 |
| commit | f07221b4e1d8aa464a44fe566884ccc0565406e9 (patch) | |
| tree | 48020a68cee1c95521d594dc6803c1f7ec01c801 /docs/GAMES.md | |
| parent | add nginx + php-fpm deployment example (diff) | |
| download | zagan-bet-f07221b4e1d8aa464a44fe566884ccc0565406e9.tar.gz zagan-bet-f07221b4e1d8aa464a44fe566884ccc0565406e9.zip | |
v3.2.0: straight and split bets anywhere on the felt; add history command
Diffstat (limited to '')
| -rw-r--r-- | docs/GAMES.md | 19 |
1 files changed, 16 insertions, 3 deletions
diff --git a/docs/GAMES.md b/docs/GAMES.md index 8cc668f..bd372b1 100644 --- a/docs/GAMES.md +++ b/docs/GAMES.md | |||
| @@ -80,9 +80,11 @@ Q forfeit an active hand (bet is lost), or leave when no hand is active | |||
| 80 | 80 | ||
| 81 | - European wheel: 0-36, one green zero. | 81 | - European wheel: 0-36, one green zero. |
| 82 | - The felt is drawn in full and bet with a cursor. Over the numbers the cursor | 82 | - The felt is drawn in full and bet with a cursor. Over the numbers the cursor |
| 83 | sits on a *lattice point*, the way a chip sits between numbers on a real | 83 | walks a grid twice as fine as the felt: on a cell it is a straight, on the |
| 84 | felt: an inner point covers four numbers (corner), an edge point covers two | 84 | line between two cells it is a split, and on a crossing it is a corner. Every |
| 85 | (split), and an outer corner is a straight. | 85 | number and every pair of adjacent numbers is reachable, as on a real felt. |
| 86 | - The status line names the current bet and its odds, for example | ||
| 87 | `Bet: 16/17 ยท pays 18x`. | ||
| 86 | - Bet types and returns (per unit staked, stake included): | 88 | - Bet types and returns (per unit staked, stake included): |
| 87 | 89 | ||
| 88 | | Bet | Covers | Return | | 90 | | Bet | Covers | Return | |
| @@ -202,6 +204,17 @@ ROULETTE_RESULT <session> <winnings> <bet> <balance> <number> <color> <bets-json | |||
| 202 | `black`). The server rejects unknown, out-of-range or duplicate-number | 204 | `black`). The server rejects unknown, out-of-range or duplicate-number |
| 203 | targets, and requires the total to equal the sum of the chips. | 205 | targets, and requires the total to equal the sum of the chips. |
| 204 | 206 | ||
| 207 | The client can read back its settled plays: | ||
| 208 | |||
| 209 | ``` | ||
| 210 | HISTORY [count] | ||
| 211 | HISTORY <json-array> | ||
| 212 | ``` | ||
| 213 | |||
| 214 | `count` defaults to 20 and is capped at 50. Each record carries `game`, `bet`, | ||
| 215 | `winnings`, `balance_after`, `at` (UTC) and the game's own `details` object, | ||
| 216 | newest first. `HISTORY` without a session returns `ERROR Not logged in`. | ||
| 217 | |||
| 205 | Blackjack is a multi-step session: | 218 | Blackjack is a multi-step session: |
| 206 | 219 | ||
| 207 | ``` | 220 | ``` |
