Skip to content

Commit cabc2e0

Browse files
committed
Add vs. human config for RobotRumble
1 parent 692c776 commit cabc2e0

2 files changed

Lines changed: 32 additions & 1 deletion

File tree

codeclash/games/robotrumble/robotrumble.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
class RobotRumbleGame(CodeGame):
2121
name: str = "RobotRumble"
22-
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.
22+
description: str = """RobotRumble is a turn-based coding battle where you program a team of robots in Python or JavaScript to move, attack, and outmaneuver your opponent on a grid.
2323
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.
2424
NOTE: Please ensure that your code runs efficiently (under 60 seconds). Code that exceeds this run time will automatically forfeit the round."""
2525
default_args: dict = {"raw": True}

configs/vs_human/RobotRumble.yaml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
tournament:
2+
rounds: 2
3+
game:
4+
name: RobotRumble
5+
sims_per_round: 250
6+
players:
7+
- agent: mini
8+
name: claude-sonnet-4-5-20250929
9+
branch_init: python
10+
config:
11+
agent: !include mini/default.yaml
12+
model:
13+
model_name: '@anthropic/claude-sonnet-4-5-20250929'
14+
model_class: portkey
15+
model_kwargs:
16+
temperature: 0.2
17+
max_tokens: 4096
18+
- agent: dummy
19+
name: human
20+
branch_init: human/gigachad
21+
prompts:
22+
game_description: |
23+
You are a software developer ({{player_id}}) competing in a coding game called RobotRumble.
24+
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.
25+
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.
26+
27+
The game is played in {{rounds}} rounds. For every round, you (and your competitor) edit program code that controls your bot. This is round {{round}}.
28+
After you and your competitor finish editing your codebases, the game is run automatically.
29+
30+
Your task: improve the bot in `robot.py`, located in {{working_dir}}.
31+
{{working_dir}} is your codebase, which contains both your bot and supporting assets.

0 commit comments

Comments
 (0)