summaryrefslogtreecommitdiffstats
path: root/docs/GUI-PLAN.md (follow)
Commit message (Collapse)AuthorAgeFilesLines
* v4.2.0: wire the GUI to the core, transport and all four gamessalmonik6 days1-16/+55
| | | | | | | | | | 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.
* v4.1.1: pointer-first betting and visible payouts in the GUIsalmonik6 days1-3/+9
| | | | | | | | 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.1.0: add the egui workspace member and the roulette style spikesalmonik6 days1-8/+35
| | | | | | | | Phase 3 of the GUI plan. gui/ is a separate package that depends on the core with default features off, so egui never enters the TUI or server build graph. It carries the theme tokens and two embedded fonts (Open Sans OFL, Hack MIT), paints the felt, chips, cursor and wheel from RouletteView, and composes the persistent header with the betting sidebar. The reference screen runs on demo state: arrow keys move the shared Cursor, clicks place chips, and SPIN animates a 2.4 s wheel that settles with the winning pocket under the pointer. No network until Phase 4. Verified x86_64-pc-windows-gnu cross-compile. Measured on Linux at 1080p with llvmpipe: 6.0 MB binary (4.7 MB on Windows), 52 ms to window, 137 MB idle RSS, 0% idle CPU.
* v4.0.7: finish the Phase 1 boundary with a command shellsalmonik7 days1-15/+23
| | | | | | The terminal command line moves to client::shell: a typed line becomes a core Command or an adapter action (connect, login, register, set-credential, host maintenance). ClientCore loses submit_line and the last TUI-shaped effects (Interactive, SetPrompt, ListHosts, ForgetHost, AnimateRoulette); the adapter animates roulette from the Result view. Adds forget-login, which drops the stored credential for the pinned key and keeps trust, distinct from logout (session only) and forget-host (trust too).
* v4.0.6: move the prompt editor and key mapping out of the coresalmonik7 days1-4/+5
|
* v4.0.5: login and registration as core commandssalmonik7 days1-3/+5
|
* v4.0.4: move the client transport and TOFU into the librarysalmonik7 days1-4/+5
|
* v4.0.3: lobby and history screens behind commandssalmonik7 days1-2/+4
|
* v4.0.2: port slots, blackjack and crash to structured viewssalmonik7 days1-4/+4
|
* v4.0.1: introduce Command/View and port roulette to the shared boundarysalmonik7 days1-0/+5
|
* docs: add the phased GUI plansalmonik7 days1-0/+87