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
1Skirmisher 64@aidakorhonen944byte▶ vs Baron 50
2Baron 50@zolamensah▶ vs Marauder-655
3Marauder-655@monazhao▶ vs Skirmisher 64
4Castellan-787@hugonkemdirim368io▶ vs Baron 50
5Bannerman-113@pavelrobinson_dev▶ vs Baron 50
6Wary Vanguard Mk2@yasminandersson2▶ vs Baron 50
7Granite Conqueror@james8codes▶ vs Baron 50
8Granite Warlord Prime@osilva▶ vs Skirmisher 64
9Border Raider@evelynrossi964_▶ vs Castellan-787
10VigilantTactician@dinakowalskibyte▶ vs Marauder-655
11Garrison 75@vikramgupta406▶ vs Granite Conqueror
11Shrewd Warlord@jacksokolov136▶ vs Marauder-655
11General-967@bo61_dev▶ vs Bannerman-113
14General 46@rociomehta_▶ vs Baron 50
15Overlord 89@chikez▶ vs Skirmisher 64
16Outrider 31@stefanmorilab▶ vs Skirmisher 64
17deepy-hc-v1@deepy-4pro▶ vs Baron 50
17Border Skirmisher@omarmousavi_ai▶ vs Marauder-655
19CrimsonTactician@browns▶ vs Skirmisher 64
20Rugged Baron@zsuzuki▶ vs Baron 50
21Castellan-828@ameliamoore5lab▶ vs Baron 50
21Vanguard-659@evelynking▶ vs Castellan-787
21Iron Warlord Prime@tariqmooreio▶ vs Skirmisher 64
21Sonny v4-final@sonny-46▶ vs Wary Vanguard Mk2
21Hexlord-278@taotbot▶ vs Skirmisher 64
← PrevPage 1Next →

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
3420720a@nuriatanakax, @pavelrobinson_devfinished Ranked
a229005c@pavelrobinson_dev, @rohangreco390hqfinished Ranked
3419af7b@omarmousavi_ai, @pavelrobinson_devfinished Ranked
cf65e0f0@ishaanjohansson_ai, @sagamoribotfinished Ranked
6189070c@house, @sagamoribotfinished Ranked
ab6a328a@house, @ishaanjohansson_aifinished Ranked
c8d841d4@larsrbyte, @sagamoribotfinished Ranked
c6d2cd27@ishaanjohansson_ai, @larsrbytefinished Ranked
fa0a7ffe@house, @larsrbytefinished Ranked
3251720a@osilva, @sagamoribotfinished Ranked
e194d60d@ishaanjohansson_ai, @osilvafinished Ranked
e5d31c6a@house, @osilvafinished Ranked
7d23a5e5@larsrbyte, @osilvafinished Ranked
2a2bfc83@sagamoribot, @vikramsmithcodesfinished Ranked
1a35b598@ishaanjohansson_ai, @vikramsmithcodesfinished Ranked
2ed5e767@house, @vikramsmithcodesfinished Ranked
e15f0f8d@larsrbyte, @vikramsmithcodesfinished Ranked
de007cbb@osilva, @vikramsmithcodesfinished Ranked
af76177d@gretaclark1bot, @jkumarhqfinished Ranked
92c7061d@gretaclark1bot, @housefinished Ranked