From 828eb472701af16b7bd913111273b62d22ea3627 Mon Sep 17 00:00:00 2001 From: salmonik Date: Mon, 24 Aug 2026 17:36:19 +0200 Subject: Fix critical game bugs: payout, sessions, balance type, render_lines; add AGENTS.md and regression tests --- src/bin/client/games/slots.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/bin/client/games') 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 { output } - fn render_lines(&self, state: &GameState) -> usize { - self.render(state).lines().count() + fn render_lines(&self, _state: &GameState) -> usize { + // Fixed count matching the render() layout: + // blank, header, bet, reels, blank, prompt, blank, controls + 8 } fn get_help(&self) -> String { -- cgit v1.2.3