summaryrefslogtreecommitdiffstats
path: root/src/client/games/roulette.rs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* v5.0.0: protocol v5 and the browser frontendsalmonik18 hours1-3/+6
| | | | | | | | | | Protocol v5 replaces newline lines with bounded [u32 len][text] frames and REQ/RES/EVT envelopes. Requests carry correlation ids and the server replays the last 256 replies per connection, so a gateway retry cannot double-debit and a late reply cannot clobber a newer request. HELLO/PONG carry server time; crash rounds announce started_at and push coalesced 10 Hz ticks. Crash now commits sha256(seed) before a round and reveals the seed when it ends, so clients recompute the crash point. Adds the webd/ gateway: one blocking thread, one ClientCore and one pinned upstream TLS connection per session, an HttpOnly session cookie, takeover, and a 60-second grace window. The browser sends Command JSON and renders View JSON; it never speaks the game protocol or stores credentials. Adds the vanilla TypeScript browser app at /play/ (login, lobby, all four games, history, notices, crash verification), the nginx /play and /ws routes, and the headless DOM smoke test. webd and the app stay out of the TUI/GUI/server build graph. The client/server version moves to 5.0.0 in lockstep; v4 peers are refused at HELLO.
* v4.1.1: pointer-first betting and visible payouts in the GUIsalmonik7 days1-2/+6
| | | | | | | | The felt snaps the hover to the shared fine lattice: inner half of a cell is a straight, an edge a split, a crossing a corner. A translucent chip previews the target and the covered cells tint. Left click adds the selected chip, right or middle click takes one back through the new Bets::reduce; C or CLEAR empties the slip, and SPIN stays disabled with no chips. The result now pays out: the wheel leaves the winning pocket under the pointer, the winning cell and pocket get a gold outline, and the sidebar reports the amount returned and the net for the round (NO WIN on a loss). Placing a chip after a result starts the next round without losing the wheel position. The column row now spans the full width like a real table instead of hugging the left edge. Adds tests for lattice snapping, target naming and taking chips back.
* v4.0.1: introduce Command/View and port roulette to the shared boundarysalmonik7 days1-83/+58
|
* v3.2.0: straight and split bets anywhere on the felt; add history commandsalmonik7 days1-38/+103
|
* PLN changed to Kromersalmonik10 days1-11/+14
|
* v3.0.0: cursor-driven roulette felt with splits and corners; drop schema ↵salmonik10 days1-60/+286
| | | | migrations; require 80x24
* formattingsalmonik10 days1-10/+2
|
* v2.1.0: add European roulette with split bets and wheel animationsalmonik10 days1-0/+157