summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorsalmonik <salmonik@tuta.io>2026-10-28 23:52:46 +0100
committersalmonik <salmonik@tuta.io>2026-10-28 23:52:46 +0100
commit7525fda5645e1e4debd79f3f4e0f453c657f49b7 (patch)
tree95397031e0c7d4c2cd5c772ce682b1bbe9f481ab /src
parentv1.3.0: simplify payouts to bet x symbol x shape (diff)
downloadzagan-bet-7525fda5645e1e4debd79f3f4e0f453c657f49b7.tar.gz
zagan-bet-7525fda5645e1e4debd79f3f4e0f453c657f49b7.zip
v1.3.1: allow = to increase the bet
Diffstat (limited to '')
-rw-r--r--src/client/core.rs2
-rw-r--r--src/client/games/slots.rs3
2 files changed, 3 insertions, 2 deletions
diff --git a/src/client/core.rs b/src/client/core.rs
index c204cb2..a88991b 100644
--- a/src/client/core.rs
+++ b/src/client/core.rs
@@ -204,7 +204,7 @@ impl ClientCore {
204 ] 204 ]
205 } 205 }
206 Key::Char(' ') => self.spin(), 206 Key::Char(' ') => self.spin(),
207 Key::Char('+') => { 207 Key::Char('+') | Key::Char('=') => {
208 let _ = self.game.adjust_bet(10); 208 let _ = self.game.adjust_bet(10);
209 self.board_effects() 209 self.board_effects()
210 } 210 }
diff --git a/src/client/games/slots.rs b/src/client/games/slots.rs
index ad9ef5c..d34bf49 100644
--- a/src/client/games/slots.rs
+++ b/src/client/games/slots.rs
@@ -153,7 +153,8 @@ impl Game for SlotsGame {
153 \n\ 153 \n\
154 Controls:\n\ 154 Controls:\n\
155 SPACE - Spin the reels\n\ 155 SPACE - Spin the reels\n\
156 +/- - Adjust total bet\n\ 156 + or = - Increase total bet\n\
157 - - Decrease total bet\n\
157 Q - Exit the game" 158 Q - Exit the game"
158 .to_string() 159 .to_string()
159 } 160 }