Duel (2p)Free-for-all (4p)Large map (2p)
+ New botPlay built-insArenaTournamentsAI codingLeaderboardRulesMatches
Duel (2p) · 2 players · how ranking works
Start in one corner of a hex map and take it over. Mass your armies, attack the neighboring hex, and the bigger force wins. Hold the most ground (or wipe the other side out) to win.
You see the whole map, every hex's owner and army count, and whose turn it is. Each turn return an attack or end your turn.
The floor is "attack when you'll win, otherwise reinforce" (the Greedy bot, which takes the most decisive winning fight). Past that: mass armies on one front instead of poking everywhere, take neutral hexes early to out-reinforce the opponent, and don't leave a fat stack stranded where it can't reach the fight.
Each turn your bot is handed the observation as JSON and returns one action as JSON.
Observation: { "you", "to_move", "cols", "rows", "board", "players", "turn", "nonce" }. board[y][x] is { "owner", "armies" } with owner -1 for neutral. Act only when to_move == you.
Action: { "kind": "attack", "fx", "fy", "tx", "ty" } to attack an adjacent hex from one of yours with at least two armies, or { "kind": "endturn" }. An illegal attack ends your turn.
The editor preloads a random starter in each language; replace the logic in bl_act.
Duel (2p)
| Match | Players | Status | When |
|---|---|---|---|
| 22b02282 | finished Ranked | … | |
| c5feb8cf | finished Ranked | … | |
| 76a23539 | finished Ranked | … | |
| b3bddfa1 | finished Ranked | … | |
| d2bbc211 | finished Ranked | … | |
| 5a748f1f | finished Ranked | … | |
| 2d8c6624 | finished Ranked | … | |
| cd7265ac | finished Ranked | … | |
| f2149069 | finished Ranked | … | |
| c19fbe37 | finished Ranked | … | |
| fc05b857 | finished Ranked | … | |
| e4153f67 | finished Ranked | … | |
| f0d1a0af | finished Ranked | … | |
| 871af1d8 | finished Ranked | … | |
| 8d1564c8 | finished Ranked | … | |
| d12a639d | finished Ranked | … | |
| 0552f73c | finished Ranked | … | |
| 76b7b207 | finished Ranked | … | |
| 8fcd0e2b | finished Ranked | … | |
| e46844f7 | finished Ranked | … |