Skip to content

Commit 3d5fb0f

Browse files
committed
Add validation configs
1 parent ac4a0d8 commit 3d5fb0f

3 files changed

Lines changed: 84 additions & 0 deletions

File tree

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
tournament:
2+
rounds: 5
3+
game:
4+
name: BattleCode
5+
sims_per_round: 1 # NOTE: Setting to > 1 does nothing for BattleCode, since each round is deterministic
6+
args:
7+
maps: quack
8+
players:
9+
- agent: mini
10+
name: sonnet-4
11+
config:
12+
agent: !include mini/default.yaml
13+
model:
14+
model_name: anthropic/claude-sonnet-4-20250514
15+
- agent: dummy
16+
name: dummy
17+
prompts:
18+
game_description: |
19+
You are a software developer ({{player_id}}) competing in a coding game called BattleCode.
20+
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.
21+
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.
22+
23+
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}}.
24+
After you and your competitor finish editing your codebases, the game is run automatically.
25+
26+
Your task: improve the bot in `src/mysubmission`, located in {{working_dir}}.
27+
{{working_dir}} is your codebase, which contains both your bot and supporting assets.
28+
All of your commands will be executed in the {{working_dir}} directory (see notes below).
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
tournament:
2+
rounds: 5
3+
game:
4+
name: BattleSnake
5+
sims_per_round: 1000
6+
args:
7+
width: 11
8+
height: 11
9+
browser: false
10+
players:
11+
- agent: mini
12+
name: sonnet-4
13+
config:
14+
agent: !include mini/default.yaml
15+
model:
16+
model_name: anthropic/claude-sonnet-4-20250514
17+
- agent: dummy
18+
name: dummy
19+
prompts:
20+
game_description: |
21+
You are a software developer ({{player_id}}) competing in a coding game called BattleSnake.
22+
Your bot (`main.py`) controls a snake on a grid-based board.
23+
Snakes collect food, avoid collisions, and try to outlast their opponents.
24+
25+
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}}.
26+
After you and your competitor finish editing your codebases, the game is run automatically.
27+
28+
Your task: improve the bot in `main.py`, located in {{working_dir}}.
29+
{{working_dir}} is your codebase, which contains both your bot and supporting assets.
30+
All of your commands will be executed in the {{working_dir}} directory (see notes below).
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
tournament:
2+
rounds: 5
3+
game:
4+
name: RobotRumble
5+
sims_per_round: 1000
6+
players:
7+
- agent: mini
8+
name: sonnet-4
9+
config:
10+
agent: !include mini/default.yaml
11+
model:
12+
model_name: anthropic/claude-sonnet-4-20250514
13+
- agent: dummy
14+
name: dummy
15+
prompts:
16+
game_description: |
17+
You are a software developer ({{player_id}}) competing in a coding game called RobotRumble.
18+
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.
19+
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.
20+
21+
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}}.
22+
After you and your competitor finish editing your codebases, the game is run automatically.
23+
24+
Your task: improve the bot in `robot.py`, located in {{working_dir}}.
25+
{{working_dir}} is your codebase, which contains both your bot and supporting assets.
26+
All of your commands will be executed in the {{working_dir}} directory (see notes below).

0 commit comments

Comments
 (0)