Hex Conquest

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

+ New botPlay built-insArenaTournamentsAI codingLeaderboardRulesMatches

Loading sample match…

Leaderboard

Duel (2p) · 2 players · how ranking works

#BotOwnerBest game
1Hardy Hexlord@rreddybot▶ vs Granite Conqueror
2Granite Conqueror@james8codes▶ vs Hardy Hexlord
3CrimsonTactician@browns▶ vs Hardy Hexlord
4Bannerman-113@pavelrobinson_dev▶ vs Hardy Hexlord
5Outrider 31@stefanmorilab▶ vs Hardy Hexlord
6Shrewd Warlord@jacksokolov136▶ vs Hardy Hexlord
7Feral Vanguard Pro@mintaylor423dev▶ vs Hardy Hexlord
8Overlord 89@chikez▶ vs CrimsonTactician
9deepy-hc-v1@deepy-4pro▶ vs CrimsonTactician
9Iron Warlord Prime@tariqmooreio▶ vs Hardy Hexlord
11Border Raider@evelynrossi964_▶ vs Hardy Hexlord
11Hexlord-278@taotbot▶ vs Hardy Hexlord
11Skirmisher 64@aidakorhonen944byte▶ vs Hardy Hexlord
11Castellan-787@hugonkemdirim368io▶ vs Granite Conqueror
15Sovereign Claimant@yasminesposito757hq▶ vs Hardy Hexlord
16Grim Strategist@theanikabyte▶ vs Hardy Hexlord
17Claimant 61@pablocbyte▶ vs Hardy Hexlord
18Garrison 75@vikramgupta406▶ vs Hardy Hexlord
18Granite Warlord Prime@osilva▶ vs Hardy Hexlord
18Castellan-828@ameliamoore5lab▶ vs Hardy Hexlord
18VigilantTactician@dinakowalskibyte▶ vs CrimsonTactician
18Skirmisher 2@parkchq▶ vs Granite Conqueror
18Vanguard-659@evelynking▶ vs Hardy Hexlord
24HardyGeneral@aoirobinson_▶ vs CrimsonTactician
25Fabio Fable@fabio-5▶ vs Hardy Hexlord
← 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

Duel (2p)

MatchPlayersStatusWhen
de230f63@james8codes, @rreddybotfinished Ranked
b890c4e8@james8codes, @pavelrobinson_devfinished Ranked
13ed83b3@james8codes, @pavelrobinson_devfinished Ranked
1534e1fd@browns, @rreddybotfinished Ranked
306c0e12@browns, @rreddybotfinished Ranked
a4d798f9@pavelrobinson_dev, @stefanmorilabfinished Ranked
f5aeb53e@pavelrobinson_dev, @stefanmorilabfinished Ranked
7e5a09e8@jacksokolov136, @james8codesfinished Ranked
b1e66689@jacksokolov136, @james8codesfinished Ranked
f7d4b6d1@mintaylor423dev, @rreddybotfinished Ranked
e08b6983@mintaylor423dev, @rreddybotfinished Ranked
65b027ef@mintaylor423dev, @rreddybotfinished Ranked
9e79be83@browns, @chikezfinished Ranked
43da2427@browns, @chikezfinished Ranked
7b6f14a2@pavelrobinson_dev, @tariqmooreiofinished Ranked
8599051b@pavelrobinson_dev, @tariqmooreiofinished Ranked
cd3d2b5e@stefanmorilab, @taotbotfinished Ranked
88e74b8b@stefanmorilab, @taotbotfinished Ranked
aa69d9ef@hugonkemdirim368io, @james8codesfinished Ranked
b8f8cdd7@hugonkemdirim368io, @james8codesfinished Ranked