diff options
| author | salmonik <salmonik@tuta.io> | 2026-08-24 17:36:19 +0200 |
|---|---|---|
| committer | salmonik <salmonik@tuta.io> | 2026-08-24 17:36:19 +0200 |
| commit | 828eb472701af16b7bd913111273b62d22ea3627 (patch) | |
| tree | 48ab3876cc1e2b7420609c7c1b016c939c9b84d1 /src/bin/client/games | |
| parent | TOFU host trust: SPKI fingerprint pinning, tests, forget-host (diff) | |
| download | zagan-bet-828eb472701af16b7bd913111273b62d22ea3627.tar.gz zagan-bet-828eb472701af16b7bd913111273b62d22ea3627.zip | |
Fix critical game bugs: payout, sessions, balance type, render_lines; add AGENTS.md and regression tests
Diffstat (limited to 'src/bin/client/games')
| -rw-r--r-- | src/bin/client/games/slots.rs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/bin/client/games/slots.rs b/src/bin/client/games/slots.rs index 2f9d63e..d664dbc 100644 --- a/src/bin/client/games/slots.rs +++ b/src/bin/client/games/slots.rs | |||
| @@ -38,8 +38,10 @@ impl Game for SlotsGame { | |||
| 38 | output | 38 | output |
| 39 | } | 39 | } |
| 40 | 40 | ||
| 41 | fn render_lines(&self, state: &GameState) -> usize { | 41 | fn render_lines(&self, _state: &GameState) -> usize { |
| 42 | self.render(state).lines().count() | 42 | // Fixed count matching the render() layout: |
| 43 | // blank, header, bet, reels, blank, prompt, blank, controls | ||
| 44 | 8 | ||
| 43 | } | 45 | } |
| 44 | 46 | ||
| 45 | fn get_help(&self) -> String { | 47 | fn get_help(&self) -> String { |
