From d9f1fe513e6f7696809d3a9b4d44ca485fe99c97 Mon Sep 17 00:00:00 2001 From: salmonik Date: Thu, 29 Oct 2026 17:18:34 +0100 Subject: v2.1.0: add European roulette with split bets and wheel animation --- docs/TESTING.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'docs/TESTING.md') diff --git a/docs/TESTING.md b/docs/TESTING.md index 4d46855..2dcb01f 100644 --- a/docs/TESTING.md +++ b/docs/TESTING.md @@ -14,6 +14,7 @@ shared global database. Each test owns its state. | `tests/client_core.rs` | Client command/game flows via a headless screen applying logical effects. | | `tests/client_ui.rs` | Help, history, completion, bet parsing, display width, cursor math. | | `tests/protocol.rs` | Newline buffering and timeout/error classification. | +| `tests/roulette.rs` | European wheel, split-bet payouts, zero handling, result parser. | | `tests/server_core.rs` | Handler, bcrypt migration, SQL injection, transaction rollback, `plays` audit, sessions. | | `tests/server_setup.rs` | `--init` identity generation, PKCS#12 loadability, overwrite refusal. | | `tests/slots.rs` | Server slots payout rules and overflow handling. | @@ -63,6 +64,19 @@ Use an 80-column terminal because several output lines are width-sensitive. fingerprint fits 80 columns. 10. Windows: repeat 2-9 and confirm keys are not duplicated or printed twice. +## Manual roulette checklist + +1. `play roulette` shows the balance, chip size, empty bets, and controls. +2. `R`/`B`/`E`/`O` add one chip; digits + Enter add a number; `C` clears; + `+`/`=`/`-` change the chip size. +3. Space scrolls the wheel under a fixed ball marker and ends on the winning + number. +4. Check a split result: + - `17 black odd`: black+odd pay, red+even lose, straight 17 pays 36x. + - `0`: all outside bets lose; a straight 0 pays 36x. +5. The result board shows the winning number/color/parity, the payout, and the + new balance. The next spin reuses the placed bets. + ## Manual server checks - Register, log out, log in again (bcrypt path). -- cgit v1.2.3