Spaces:
Runtime error
Runtime error
Tweaking
Browse files- backend/game/bot.py +2 -2
backend/game/bot.py
CHANGED
|
@@ -26,8 +26,8 @@ log = logging.getLogger(__name__)
|
|
| 26 |
BOT_PLAYER_ID = "__bot__"
|
| 27 |
BOT_PLAYER_NAME = "Bot IA"
|
| 28 |
|
| 29 |
-
# Ticks between each bot decision (~4 ticks/s →
|
| 30 |
-
BOT_TICK_INTERVAL =
|
| 31 |
|
| 32 |
|
| 33 |
def _cmd(*actions: GameAction) -> ParsedCommand:
|
|
|
|
| 26 |
BOT_PLAYER_ID = "__bot__"
|
| 27 |
BOT_PLAYER_NAME = "Bot IA"
|
| 28 |
|
| 29 |
+
# Ticks between each bot decision (~4 ticks/s → 10 ticks ≈ 2.5 s)
|
| 30 |
+
BOT_TICK_INTERVAL = 10
|
| 31 |
|
| 32 |
|
| 33 |
def _cmd(*actions: GameAction) -> ParsedCommand:
|