summaryrefslogtreecommitdiffstats
path: root/docs/GAMES.md
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--docs/GAMES.md19
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
203targets, and requires the total to equal the sum of the chips. 205targets, and requires the total to equal the sum of the chips.
204 206
207The client can read back its settled plays:
208
209```
210HISTORY [count]
211HISTORY <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,
216newest first. `HISTORY` without a session returns `ERROR Not logged in`.
217
205Blackjack is a multi-step session: 218Blackjack is a multi-step session:
206 219
207``` 220```