summaryrefslogtreecommitdiffstats
path: root/src/bin/client/games
diff options
context:
space:
mode:
authorsalmonik <salmonik@tuta.io>2026-08-24 17:36:19 +0200
committersalmonik <salmonik@tuta.io>2026-08-24 17:36:19 +0200
commit828eb472701af16b7bd913111273b62d22ea3627 (patch)
tree48ab3876cc1e2b7420609c7c1b016c939c9b84d1 /src/bin/client/games
parentTOFU host trust: SPKI fingerprint pinning, tests, forget-host (diff)
downloadzagan-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 '')
-rw-r--r--src/bin/client/games/slots.rs6
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 {