From bf4cf78ab26896faf457273e37d30fc96381c4a4 Mon Sep 17 00:00:00 2001 From: salmonik Date: Sun, 1 Nov 2026 21:09:56 +0100 Subject: v4.2.0: wire the GUI to the core, transport and all four games 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. --- docs/screenshots/gui-blackjack-1080p.png | Bin 0 -> 60075 bytes docs/screenshots/gui-crash-1080p.png | Bin 0 -> 64377 bytes docs/screenshots/gui-history-1080p.png | Bin 0 -> 166509 bytes docs/screenshots/gui-lobby-1080p.png | Bin 0 -> 64944 bytes docs/screenshots/gui-roulette-1080p.png | Bin 128158 -> 118143 bytes docs/screenshots/gui-roulette-result-1080p.png | Bin 127283 -> 113253 bytes docs/screenshots/gui-slots-1080p.png | Bin 0 -> 78173 bytes 7 files changed, 0 insertions(+), 0 deletions(-) create mode 100644 docs/screenshots/gui-blackjack-1080p.png create mode 100644 docs/screenshots/gui-crash-1080p.png create mode 100644 docs/screenshots/gui-history-1080p.png create mode 100644 docs/screenshots/gui-lobby-1080p.png create mode 100644 docs/screenshots/gui-slots-1080p.png (limited to 'docs/screenshots') diff --git a/docs/screenshots/gui-blackjack-1080p.png b/docs/screenshots/gui-blackjack-1080p.png new file mode 100644 index 0000000..b0fcc19 Binary files /dev/null and b/docs/screenshots/gui-blackjack-1080p.png differ diff --git a/docs/screenshots/gui-crash-1080p.png b/docs/screenshots/gui-crash-1080p.png new file mode 100644 index 0000000..245a3a1 Binary files /dev/null and b/docs/screenshots/gui-crash-1080p.png differ diff --git a/docs/screenshots/gui-history-1080p.png b/docs/screenshots/gui-history-1080p.png new file mode 100644 index 0000000..a979dcd Binary files /dev/null and b/docs/screenshots/gui-history-1080p.png differ diff --git a/docs/screenshots/gui-lobby-1080p.png b/docs/screenshots/gui-lobby-1080p.png new file mode 100644 index 0000000..a258967 Binary files /dev/null and b/docs/screenshots/gui-lobby-1080p.png differ diff --git a/docs/screenshots/gui-roulette-1080p.png b/docs/screenshots/gui-roulette-1080p.png index 2f30aa7..1d7af3d 100644 Binary files a/docs/screenshots/gui-roulette-1080p.png and b/docs/screenshots/gui-roulette-1080p.png differ diff --git a/docs/screenshots/gui-roulette-result-1080p.png b/docs/screenshots/gui-roulette-result-1080p.png index a7d425c..fe4c9cd 100644 Binary files a/docs/screenshots/gui-roulette-result-1080p.png and b/docs/screenshots/gui-roulette-result-1080p.png differ diff --git a/docs/screenshots/gui-slots-1080p.png b/docs/screenshots/gui-slots-1080p.png new file mode 100644 index 0000000..9d79321 Binary files /dev/null and b/docs/screenshots/gui-slots-1080p.png differ -- cgit v1.2.3