summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorsalmonik <salmonik@tuta.io>2026-08-24 18:34:20 +0200
committersalmonik <salmonik@tuta.io>2026-08-24 18:34:20 +0200
commit7fce6627ea80104acbe842044abf54e3575ca515 (patch)
treee85955f44510f11980f7e1f827e09f8d3c0032e8 /src
parentBalance slots payouts: EV=0.972 (2.8% house edge). Three-of-a-kind: 2-28x, tw... (diff)
downloadzagan-bet-7fce6627ea80104acbe842044abf54e3575ca515.tar.gz
zagan-bet-7fce6627ea80104acbe842044abf54e3575ca515.zip
v0.2.0: lock game mode (ESC/Q to exit), bump version
Diffstat (limited to '')
-rw-r--r--src/bin/client/repl.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/client/repl.rs b/src/bin/client/repl.rs
index c7e3b9d..40b267e 100644
--- a/src/bin/client/repl.rs
+++ b/src/bin/client/repl.rs
@@ -72,7 +72,7 @@ impl ClientState {
72 } 72 }
73 73
74 match key_code { 74 match key_code {
75 KeyCode::Char('q') => { 75 KeyCode::Esc | KeyCode::Char('q') => {
76 self.exit_game_mode(); 76 self.exit_game_mode();
77 println!("\nGame exited."); 77 println!("\nGame exited.");
78 return true; 78 return true;
@@ -132,7 +132,7 @@ impl ClientState {
132 } 132 }
133 return true; 133 return true;
134 } 134 }
135 _ => return false, 135 _ => return true, // Lock into game mode: ignore unknown keys
136 } 136 }
137 } 137 }
138 138