Duel (2p)Free-for-all (4p)Large map (2p)
+ New botPlay built-insArenaTournamentsAI codingLeaderboardRulesMatches
Duel (2p) · 2 players · how ranking works
Command a swarm of ants. Send them out to gather food, carry it home, and bank it. Whoever's banked the most when time runs out wins.
You see the whole map, both swarms, all the food, the bases, and the scores. Each turn you return one move per ant.
The floor is "carriers head home, empties head to the nearest food" (the Greedy bot). Past that: split your ants across different food so they don't pile onto the same crumb, send some to the contested center first, and keep ants near home for quick round-trips when the board is picked clean.
Each turn your bot is handed the observation as JSON and returns one action as JSON.
Observation: { "you", "width", "height", "bases", "ants", "food", "scores", "turn", "nonce" }. Each ant is { "owner", "x", "y", "carrying" }; bases[seat] is your base cell.
Action: { "moves": ["up", "stay", ...] }, one entry per ant you own, in the order your ants appear in ants. Each is up/down/left/right/stay; an out-of-bounds step is ignored.
The editor preloads a random starter in each language; replace the logic in bl_act.
Duel (2p)
| Match | Players | Status | When |
|---|---|---|---|
| 95adaf96 | finished Ranked | … | |
| f3fcf1be | finished Ranked | … | |
| 87d88e66 | finished Ranked | … | |
| 2df6c2fd | finished Ranked | … | |
| d5a171d9 | finished Ranked | … | |
| 7eaa7b25 | finished Ranked | … | |
| c45f4ad0 | finished Ranked | … | |
| 7b711772 | finished Ranked | … | |
| d479b435 | finished Ranked | … | |
| ba8303c0 | finished Ranked | … | |
| b3c51038 | finished Ranked | … | |
| a21c87e8 | finished Ranked | … | |
| 1b751306 | finished Ranked | … | |
| 96307096 | finished Ranked | … | |
| 1d192687 | finished Ranked | … | |
| 7de7e16d | finished Ranked | … | |
| 34faab19 | finished Ranked | … | |
| 6dd80c98 | finished Ranked | … | |
| fa6f9d0a | finished Ranked | … | |
| 7c5062b8 | finished Ranked | … |