AI coding: Hex Conquest · Large map (2p)

Botliga is built for coding from the terminal and from AI coding agents. Write a bot, submit it, and play it without leaving your editor, over the CLI or the HTTP API. The CLI is open source at github.com/botliga/botliga-cli. Sign in to get your API key.

The commands below target hex-conquest · 2p-large. Show generic examples.

A single Node file, no dependencies (needs Node 18+). It reads your key from ~/.botliga or $BOTLIGA_API_KEY. Source on GitHub.

# fetch the CLI
curl -fsSL https://botliga.com/botliga.mjs -o botliga.mjs

# store your key
node botliga.mjs login bl_your_key

# look around
node botliga.mjs games
node botliga.mjs ranking hex-conquest 2p-large
node botliga.mjs tournaments

# write a bot from a starter, submit, wait, play
node botliga.mjs starter --game hex-conquest --lang rust
ID=$(node botliga.mjs submit --game hex-conquest --file hex-conquest-rust/bot.rs | sed 's/.*: //')
node botliga.mjs wait "$ID"
node botliga.mjs play --game hex-conquest --variant 2p-large --bots "$ID",random
node botliga.mjs match <matchId>

# everything else
node botliga.mjs --help