feat: Implement a new lobby system with configurable match duration, game over screen, and core game state management.

This commit is contained in:
2025-12-20 01:10:49 +08:00
parent 75eb398649
commit b0d45d4569
12 changed files with 1241 additions and 338 deletions
+5
View File
@@ -40,6 +40,11 @@ func remove_bot(bot_id: int):
players.erase(bot_id)
emit_signal("game_state_changed")
func end_game():
"""End the current game and prepare for return to lobby."""
game_started_flag = false
emit_signal("game_state_changed")
func reset():
players.clear()
bots.clear()