mine implementation

This commit is contained in:
Matteo Benedetto
2025-08-14 16:53:15 +02:00
parent a4b6703d12
commit c35fc9f1f7
13 changed files with 277 additions and 6 deletions
+2 -1
View File
@@ -27,8 +27,9 @@ class KeyBindings:
elif key in keybindings.get("scroll_right", []):
self.start_scrolling("Right")
elif key in keybindings.get("spawn_bomb", []):
self.render_engine.play_sound("PUTDOWN.WAV")
self.spawn_bomb(self.pointer)
elif key in keybindings.get("spawn_mine", []):
self.spawn_mine(self.pointer)
elif key in keybindings.get("pause", []):
self.game_status = "paused" if self.game_status == "game" else "game"
elif key in keybindings.get("start_game", []):