<feed xmlns='http://www.w3.org/2005/Atom'>
<title>zagan-bet/gui/src/lib.rs, branch master</title>
<subtitle>Everything about zagan-bet casino is here.
</subtitle>
<id>https://git.2137697.xyz/zagan-bet/atom?h=master</id>
<link rel='self' href='https://git.2137697.xyz/zagan-bet/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.2137697.xyz/zagan-bet/'/>
<updated>2026-11-01T20:09:56Z</updated>
<entry>
<title>v4.2.0: wire the GUI to the core, transport and all four games</title>
<updated>2026-11-01T20:09:56Z</updated>
<author>
<name>salmonik</name>
<email>salmonik@tuta.io</email>
</author>
<published>2026-11-01T20:09:56Z</published>
<link rel='alternate' type='text/html' href='https://git.2137697.xyz/zagan-bet/commit/?id=bf4cf78ab26896faf457273e37d30fc96381c4a4'/>
<id>urn:sha1:bf4cf78ab26896faf457273e37d30fc96381c4a4</id>
<content type='text'>
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.
</content>
</entry>
<entry>
<title>v4.1.0: add the egui workspace member and the roulette style spike</title>
<updated>2026-11-01T18:58:59Z</updated>
<author>
<name>salmonik</name>
<email>salmonik@tuta.io</email>
</author>
<published>2026-11-01T18:58:59Z</published>
<link rel='alternate' type='text/html' href='https://git.2137697.xyz/zagan-bet/commit/?id=10ff558853f549d3f3c7c8432488bfad9da6973a'/>
<id>urn:sha1:10ff558853f549d3f3c7c8432488bfad9da6973a</id>
<content type='text'>
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.
</content>
</entry>
</feed>
