You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: codeclash/arenas/battlecode25/battlecode25.py
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -14,9 +14,9 @@
14
14
BC_TIE="Reason: The winning team won arbitrarily (coin flip)."
15
15
16
16
17
-
classBattleCode2025Arena(CodeArena):
18
-
name: str="BattleCode2025"
19
-
description: str="""Battlecode 2025 throws you into a real-time strategy showdown where your Python bot pilots a team of specialized robots—Soldiers, Moppers, Splashers—alongside towers that spawn units or generate resources.
17
+
classBattleCode25Arena(CodeArena):
18
+
name: str="BattleCode25"
19
+
description: str="""BattleCode 2025 throws you into a real-time strategy showdown where your Python bot pilots a team of specialized robots—Soldiers, Moppers, Splashers—alongside towers that spawn units or generate resources.
20
20
Your mission: paint over 70% of the map (or eliminate the enemy) by coordinating cleanups, area cover, and tower-building through tight bytecode budgets and clever unit synergy."""
21
21
default_args: dict= {
22
22
"maps": "quack",
@@ -25,7 +25,7 @@ class BattleCode2025Arena(CodeArena):
25
25
26
26
def__init__(self, config, **kwargs):
27
27
super().__init__(config, **kwargs)
28
-
assertlen(config["players"]) ==2, "BattleCode2025 is a two-player game"
28
+
assertlen(config["players"]) ==2, "BattleCode25 is a two-player game"
Copy file name to clipboardExpand all lines: configs/test/battlecode25.yaml
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -1,8 +1,8 @@
1
1
tournament:
2
2
rounds: 3
3
3
game:
4
-
name: BattleCode2025
5
-
sims_per_round: 20# NOTE: Setting to > 1 does nothing for BattleCode2025, since each round is deterministic
4
+
name: BattleCode25
5
+
sims_per_round: 20# NOTE: Setting to > 1 does nothing for BattleCode25, since each round is deterministic
6
6
args:
7
7
maps: quack
8
8
players:
@@ -12,7 +12,7 @@ players:
12
12
name: p2
13
13
prompts:
14
14
game_description: |
15
-
You are a software developer ({{player_id}}) competing in a coding game called BattleCode2025.
15
+
You are a software developer ({{player_id}}) competing in a coding game called BattleCode25.
16
16
Battlecode2025 throws you into a real-time strategy showdown where your Python bot pilots a team of specialized robots—Soldiers, Moppers, Splashers—alongside towers that spawn units or generate resources.
17
17
Your mission: paint over 70% of the map (or eliminate the enemy) by coordinating cleanups, area cover, and tower-building through tight bytecode budgets and clever unit synergy.
0 commit comments