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/games/battlecode/battlecode.py
+7-1Lines changed: 7 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -11,12 +11,18 @@
11
11
12
12
classBattleCodeGame(CodeGame):
13
13
name: str="BattleCode"
14
+
description: str="""Battlecode 25 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.
15
+
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."""
16
+
default_args: dict= {
17
+
"maps": "quack",
18
+
}
19
+
submission: str="src/mysubmission"
14
20
15
21
def__init__(self, config, **kwargs):
16
22
super().__init__(config, **kwargs)
17
23
assertlen(config["players"]) ==2, "BattleCode is a two-player game"
Copy file name to clipboardExpand all lines: codeclash/games/corewar/corewar.py
+4-1Lines changed: 4 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -10,11 +10,14 @@
10
10
11
11
classCoreWarGame(CodeGame):
12
12
name: str="CoreWar"
13
+
description: str="""CoreWar is a programming battle where you write "warriors" in an assembly-like language called Redcode to compete within a virtual machine (MARS), aiming to eliminate your rivals by making their code self-terminate.
14
+
Victory comes from crafting clever tactics—replicators, scanners, bombers—that exploit memory layout and instruction timing to control the core."""
Copy file name to clipboardExpand all lines: codeclash/games/robocode/robocode.py
+8-1Lines changed: 8 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -12,11 +12,18 @@
12
12
13
13
classRoboCodeGame(CodeGame):
14
14
name: str="RoboCode"
15
+
description: str="""Robocode (Tank Royale) is a programming game where your code is the tank: each turn your bot sends intents—speed plus body/gun/radar turn rates and firepower—based on the game state it perceives via radar.
16
+
Your program decides how to move, aim, and fire in a deterministic, turn-based arena to outlast other bots."""
Copy file name to clipboardExpand all lines: codeclash/games/robotrumble/robotrumble.py
+10-7Lines changed: 10 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -12,6 +12,9 @@
12
12
13
13
classRobotRumbleGame(CodeGame):
14
14
name: str="RobotRumble"
15
+
description: str="""RobotRumble is a turn-based coding battle where you program a team of robots in Python to move, attack, and outmaneuver your opponent on a grid.
16
+
Every decision is driven by your code, and victory comes from crafting logic that positions robots smartly, times attacks well, and adapts over the 100-turn match."""
returnf"""You are a software developer ({{{{player_id}}}}) competing in a coding game called {arena.name}.
40
+
{arena.description}
41
+
42
+
The game is played in {rounds} rounds. For every round, you (and your competitors) edit program code that controls your bot. This is round {{{{round}}}}.
43
+
After you and your competitor finish editing your codebases, the game is run automatically.
44
+
45
+
Your task: improve the bot in `{arena.submission}`, located in {{{{working_dir}}}}.
46
+
{{{{working_dir}}}} is your codebase, which contains both your both and supporting assets.
47
+
All of your commands will be executed in the {{{{working_dir}}}} directory (see notes below).
0 commit comments