summaryrefslogtreecommitdiffstats
path: root/src/client/games/manager.rs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* v5.0.0: protocol v5 and the browser frontendsalmonik19 hours1-6/+15
| | | | | | | | | | 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.2.0: wire the GUI to the core, transport and all four gamessalmonik7 days1-2/+4
| | | | | | | | | | Phase 4. The egui frontend now shares ClientCore and the client database with the terminal: one background worker owns TLS, trust answers go through a channel, and a 10 s request deadline mirrors the terminal socket timeout. First contact, a changed key and a version mismatch are explicit screens; login can remember the credential and auto-login signs in before the login form appears. Adds the lobby with an update notice, a full-width scrollable history table, and the four games painted from View: slots with reel animation and win lines that stop at the last matching reel, roulette with the hover lattice and wheel spin, blackjack with vector-drawn suits, and a smooth crash curve. Sidebars pin their action block; leaving a live hand or round asks before forfeiting. The header balance holds the staked amount while the reels or wheel turn and only shows the payout when they stop. Refused spins cancel the animation. Live crash multipliers keep full precision for the chart; the terminal still displays two decimals. Verified live against a 4.2.0 server: register, login, auto-login, trust, all four games settling, history (50 rows), logout, disconnect, forfeit confirmation, and the version-mismatch screen. Release: 8.3 MB Linux, 6.8 MB Windows, 61 ms to window, 131 MB idle RSS.
* v3.0.0: cursor-driven roulette felt with splits and corners; drop schema ↵salmonik10 days1-6/+11
| | | | migrations; require 80x24
* formattingsalmonik10 days1-4/+4
|
* v2.3.0: add crash with local multiplier and pushed crash eventsalmonik10 days1-0/+90
|
* v2.2.0: add blackjack with reserved bets and hit/stand/doublesalmonik10 days1-0/+49
|
* v2.1.0: add European roulette with split bets and wheel animationsalmonik10 days1-3/+128
|
* v1.1.0: highlight winning symbols on the slots boardsalmonik11 days1-0/+11
|
* v1.0.0: replace slots with 5x3 reels and five paylinessalmonik11 days1-0/+11
|
* v0.2.3: add ClientCore and fix the game board renderingsalmonik11 days1-53/+87
|
* v0.2.2: split client/server logic into the librarysalmonik11 days1-0/+131