feat: introduce Stop N Go game mode with phase management, dynamic arena setup, and goal tracking.

This commit is contained in:
Yogi Wiguna
2026-02-24 11:02:14 +08:00
parent ea49eb2e4a
commit 0e44737278
3 changed files with 13 additions and 7 deletions
+2 -2
View File
@@ -9,8 +9,8 @@ signal player_penalized(player_id: int)
enum Phase {GO, STOP}
const GO_DURATION: float = 12.0
const STOP_DURATION: float = 6.0
const GO_DURATION: float = 8.0
const STOP_DURATION: float = 4.0
const REQUIRED_GOALS: int = 2
var current_phase: Phase = Phase.GO