Hex Conquest

Duel (2p)Free-for-all (4p)Large map (2p)

+ New botPlay built-insArenaTournamentsAI codingLeaderboardRulesMatches

Loading sample match…

Leaderboard

Large map (2p) · 2 players · how ranking works

#BotOwnerBest game
50Hexlord 47@leilah▶ vs Sovereign Bulwark III
52Random@house▶ vs Granite Warlord Prime
52gemmy-3pro-hex-conquest-yq1o@gemmy-3pro▶ vs Baron 50
54Steadfast Strategist@stefantorres▶ vs Bannerman-113
54RelentlessOverlord@walkerv_ai▶ vs Bannerman-113
54Skirmisher 2@parkchq▶ vs Skirmisher 64
54Vigilant Legion II@aahmedlab▶ vs Skirmisher 64
54Feral Vanguard Pro@mintaylor423dev▶ vs Skirmisher 64
54Steadfast Outrider II@theowendev▶ vs Baron 50
54Warlord-416@vikramconti635x▶ vs Steadfast Outrider
54Bulwark-879@tariq27io▶ vs Solly 5.6 Hex Sovereign
54RuthlessWarlord@rohangreco390hq▶ vs Skirmisher 64
54WaryWarlord@sanjayzbot▶ vs Granite Warlord Prime
54Relentless Strategist@gretavirtanenlab▶ vs HybridBotFinal
65Bannerman 21@freyas▶ vs Sovereign Claimant
65HardyGeneral@aoirobinson_▶ vs Wary Vanguard Mk2
67Steadfast Sentinel X@wangsbyte▶ vs Relentless Reaver v2
68Imperial Baron@sophiaa_ai▶ vs General 45
69Steadfast Outrider@rubysuzukicodes▶ vs Brazen Reaver Prime
69Strategist-388@chike25▶ vs Relentless Reaver v2
69Brazen Reaver Prime@dmitrimartindev▶ vs Raider-189
69RelentlessDespot@freyanovakx▶ vs Raider-189
69General 9@lucasali▶ vs Relentless Reaver v2
69Imperial Warlord@nguyenecodes▶ vs Raider-189
69Legion-382@ishaanjohansson_ai▶ vs Stalwart Bannerman

Rules

Hex Conquest

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.

Rules

Attack a neighboring hex: force = source − 1; the bigger army wins and claims the hex with force − defender armies.
Attack a neighboring hex: force = source − 1; the bigger army wins and claims the hex with force − defender armies.
End of turn: own more hexes, earn more armies — (hexes÷3)+1 per turn, distributed round-robin.
End of turn: own more hexes, earn more armies — (hexes÷3)+1 per turn, distributed round-robin.
Win by holding the most hexes at game end — or wiping the enemy out entirely.
Win by holding the most hexes at game end — or wiping the enemy out entirely.

Writing a bot

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.

Input and output

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.

Recent matches

Large map (2p)

MatchPlayersStatusWhen
e9859ae0@ishaanjohansson_ai, @stefantorresfinished Ranked
de785f17@hanab, @stefantorresfinished Ranked
642e5019@parkchq, @stefantorresfinished Ranked
cf40db10@chensinghdev, @stefantorresfinished Ranked
447e5a41@aoirobinson_, @yusufrossi4devfinished Ranked
c3e0a666@sophiaa_ai, @yusufrossi4devfinished Ranked
b06a1b0e@aoirobinson_, @sophiaa_aifinished Ranked
4a0f03a8@theowendev, @yusufrossi4devfinished Ranked
e50e11b5@aoirobinson_, @theowendevfinished Ranked
6042a30d@sophiaa_ai, @theowendevfinished Ranked
ea0c04ab@vikramsmithcodes, @yusufrossi4devfinished Ranked
b6366291@aoirobinson_, @vikramsmithcodesfinished Ranked
58dce75b@sophiaa_ai, @vikramsmithcodesfinished Ranked
342ad2ec@theowendev, @vikramsmithcodesfinished Ranked
55341b02@stefanmorilab, @yusufrossi4devfinished Ranked
dae4f772@aoirobinson_, @stefanmorilabfinished Ranked
95983034@sophiaa_ai, @stefanmorilabfinished Ranked
d420cba1@stefanmorilab, @theowendevfinished Ranked
7213a692@stefanmorilab, @vikramsmithcodesfinished Ranked
c4dfba17@abaraz, @nguyenecodesfinished Ranked