summaryrefslogtreecommitdiffstats
path: root/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* v4.2.0: wire the GUI to the core, transport and all four gamessalmonik7 days3-10/+37
| | | | | | | | | | 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 GUIsalmonik7 days2-2/+16
| | | | | | | | 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.7: finish the Phase 1 boundary with a command shellsalmonik7 days7-253/+332
| | | | | | 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 days4-208/+221
|
* v4.0.5: login and registration as core commandssalmonik7 days2-2/+74
|
* v4.0.4: move the client transport and TOFU into the librarysalmonik7 days5-437/+476
|
* v4.0.3: lobby and history screens behind commandssalmonik7 days3-37/+137
|
* v4.0.2: port slots, blackjack and crash to structured viewssalmonik7 days6-246/+436
|
* v4.0.1: introduce Command/View and port roulette to the shared boundarysalmonik7 days6-138/+248
|
* v4.0.0: require HELLO MAJOR.MINOR lockstep before authsalmonik7 days4-2/+175
|
* v3.3.0: keep client.db in the XDG data dir, add -d/--data-dirsalmonik7 days4-12/+139
|
* v3.2.0: straight and split bets anywhere on the felt; add history commandsalmonik7 days9-41/+310
|
* PLN changed to Kromersalmonik9 days7-39/+38
|
* v3.1.0: warn on shrink, but let a live round finishsalmonik9 days3-2/+89
|
* v3.0.0: cursor-driven roulette felt with splits and corners; drop schema ↵salmonik9 days11-239/+526
| | | | migrations; require 80x24
* v2.4.0: key stored credentials by certificate fingerprintsalmonik10 days4-42/+169
|
* formattingsalmonik10 days22-188/+88
|
* initial connection timeout set to 10ssalmonik10 days1-10/+8
|
* v2.3.2: group hosts by certificate fingerprintsalmonik10 days1-2/+26
|
* v2.3.1: settle orphaned reservations on server restartsalmonik10 days3-16/+215
|
* v2.3.0: add crash with local multiplier and pushed crash eventsalmonik10 days16-40/+1150
|
* v2.2.1: forfeit blackjack bets when leaving or disconnectingsalmonik10 days4-18/+63
|
* v2.2.0: add blackjack with reserved bets and hit/stand/doublesalmonik10 days13-7/+1004
|
* v2.1.2: ignore ANSI when measuring board heightsalmonik10 days1-1/+23
|
* v2.1.1: color-code roulette numbers red and greensalmonik10 days1-2/+74
|
* v2.1.0: add European roulette with split bets and wheel animationsalmonik10 days12-31/+923
|
* v2.0.0: reset plays audit to a generic per-game schemasalmonik10 days2-17/+18
|
* v1.3.1: allow = to increase the betsalmonik10 days2-2/+3
|
* v1.3.0: simplify payouts to bet x symbol x shapesalmonik10 days3-47/+71
|
* v1.2.1: track wrapped board lines and split the paytablesalmonik10 days4-9/+44
|
* v1.2.0: show the symbol paytable on the slots boardsalmonik10 days4-26/+45
|
* v1.1.0: highlight winning symbols on the slots boardsalmonik10 days6-20/+125
|
* v1.0.0: replace slots with 5x3 reels and five paylinessalmonik10 days5-107/+233
|
* v0.4.0: add first-time TLS setup and server helpsalmonik10 days5-41/+240
|
* v0.3.1: clean up dependencies, stale tests and document verificationsalmonik11 days2-11/+0
|
* v0.3.0: add server core, bcrypt migration and plays auditsalmonik11 days7-252/+480
|
* v0.2.6: preserve buffered lines and add request read timeoutssalmonik11 days6-22/+124
|
* v0.2.5: fix terminal width, ping timing and output formattingsalmonik11 days4-40/+180
|
* v0.2.4: fix command UX, completion wrapping and auth prompt cancellationsalmonik11 days3-12/+66
|
* v0.2.3: add ClientCore and fix the game board renderingsalmonik11 days8-807/+1165
|
* v0.2.2: split client/server logic into the librarysalmonik11 days21-56/+29
|
* Fix TUI: render_lines 6 for correct MoveUp, drain buffered events before ↵salmonik2026-08-242-3/+10
| | | | clearing spinning flag, clean redraw_game
* Fix TUI: stable 7-line game render, no extra newlines, spin busy flag ↵salmonik2026-08-242-11/+15
| | | | prevents queueing
* v0.2.1: fix connect error overwriting prompt in raw modesalmonik2026-08-241-1/+1
|
* Alias localhost to 127.0.0.1, fix info to show host+fingerprintsalmonik2026-08-241-33/+20
|
* Add hosts command, info shows current host+fingerprint, ↵salmonik2026-08-242-1/+32
| | | | disconnect-before-connect, default port 11525
* v0.2.0: lock game mode (ESC/Q to exit), bump versionsalmonik2026-08-241-2/+2
|
* Balance slots payouts: EV=0.972 (2.8% house edge). Three-of-a-kind: 2-28x, ↵salmonik2026-08-242-15/+16
| | | | two-of-a-kind: 1-3x.
* Client: read PLAY_START response before animating; show error immediately on ↵salmonik2026-08-241-33/+44
| | | | insufficient balance. Add versioning to AGENTS.md.
* Fix balance: only credit winnings, not refund the bet on every spinsalmonik2026-08-241-1/+1
|