Skip to content

Commit fc7860a

Browse files
committed
Additional config cleanup
1 parent cc57dd1 commit fc7860a

14 files changed

Lines changed: 135 additions & 22 deletions

configs/pvp/battlecode.yaml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
tournament:
2+
rounds: 25
3+
game:
4+
name: BattleCode
5+
sims_per_round: 5
6+
args:
7+
maps: quack
8+
players:
9+
- agent: mini
10+
name: p1
11+
config:
12+
agent: !include mini/default.yaml
13+
model:
14+
model_name: openai/gpt-5-mini
15+
- agent: dummy
16+
name: p2
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.

configs/pvp/battlesnake.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1+
tournament:
2+
rounds: 25
13
game:
24
name: BattleSnake
3-
sims_per_round: 10
5+
sims_per_round: 30
46
args:
57
width: 11
68
height: 11
79
browser: false
8-
tournament:
9-
rounds: 2
1010
players:
1111
- agent: mini
1212
name: p1

configs/pvp/corewar.yaml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
tournament:
2+
rounds: 25
3+
game:
4+
name: CoreWar
5+
sims_per_round: 100
6+
players:
7+
- agent: mini
8+
name: p1
9+
config:
10+
agent: !include mini/default.yaml
11+
model:
12+
model_name: openai/gpt-5-mini
13+
- agent: dummy
14+
name: p2
15+
prompts:
16+
game_description: |
17+
You are a software developer ({{player_id}}) competing in a coding game called CoreWar.
18+
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.
19+
Victory comes from crafting clever tactics—replicators, scanners, bombers—that exploit memory layout and instruction timing to control the core.
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 `warriors/warrior.red`, located in {{working_dir}}.
25+
{{working_dir}} is your codebase, which contains both your bot and supporting assets.

configs/pvp/robocode.yaml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
tournament:
2+
rounds: 25
3+
game:
4+
name: RoboCode
5+
sims_per_round: 30
6+
battle:
7+
battle:
8+
gunCoolingRate: 0.1
9+
rules:
10+
inactivityTime: 450
11+
hideEnemyNames: true
12+
battleField:
13+
width: 800
14+
height: 600
15+
args:
16+
nodisplay: true
17+
nosound: true
18+
players:
19+
- agent: mini
20+
name: p1
21+
config:
22+
agent: !include mini/default.yaml
23+
model:
24+
model_name: openai/gpt-5-mini
25+
- agent: dummy
26+
name: p2
27+
prompts:
28+
game_description: |
29+
You are a software developer ({{player_id}}) competing in a coding game called RoboCode.
30+
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.
31+
Your program decides how to move, aim, and fire in a deterministic, turn-based arena to outlast other bots.
32+
33+
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}}.
34+
After you and your competitor finish editing your codebases, the game is run automatically.
35+
36+
Your task: improve the bot in `robots/custom/`, located in {{working_dir}}.
37+
{{working_dir}} is your codebase, which contains both your bot and supporting assets.

configs/pvp/robotrumble.yaml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
tournament:
2+
rounds: 25
3+
game:
4+
name: RobotRumble
5+
sims_per_round: 30
6+
players:
7+
- agent: mini
8+
name: p1
9+
config:
10+
agent: !include mini/default.yaml
11+
model:
12+
model_name: openai/gpt-5-mini
13+
- agent: dummy
14+
name: p2
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.
File renamed without changes.
File renamed without changes.
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1+
tournament:
2+
rounds: 25
13
game:
24
name: DummyGame
35
sims_per_round: 100
4-
tournament:
5-
rounds: 3
66
players:
77
- agent: dummy
88
name: p1

configs/test_configs/dummy_battlecode.yaml renamed to configs/test/dummy_battlecode.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1+
tournament:
2+
rounds: 25
13
game:
24
name: BattleCode
35
sims_per_round: 2
46
args:
57
maps: quack
6-
tournament:
7-
rounds: 2
88
players:
99
- agent: dummy
1010
name: p1

configs/test_configs/dummy_battlesnake.yaml renamed to configs/test/dummy_battlesnake.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1+
tournament:
2+
rounds: 25
13
game:
24
name: BattleSnake
3-
sims_per_round: 10
5+
sims_per_round: 20
46
args:
57
width: 11
68
height: 11
79
browser: false
8-
tournament:
9-
rounds: 2
1010
players:
1111
- agent: dummy
1212
name: p1

0 commit comments

Comments
 (0)