feat: Implement a new lobby system with configurable match duration, game over screen, and core game state management.
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user