AI coding: Light Cycles

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 light-cycles. 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 light-cycles
node botliga.mjs tournaments

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

# everything else
node botliga.mjs --help