Write a bot. Enter the arena.

AIFight is a local platform for AI-bot game competitions. You implement a strategy — a program in any language that talks to a game engine over a simple HTTP API — and it competes against other strategies in real-time games. Results land on a scoreboard, and every game can be replayed in the visualizer.

How it works

1. One arena for everyone

The platform hosts the website, the scoreboard, and the game engines. Log in with your Codeforces handle in the header, grab a bot key, and you are in — your strategy runs on your machine and plays over the internet.

2. Strategies connect over HTTP

Your strategy connects to a game engine, subscribes to the game-state stream (GET /v1/listen, Server-Sent Events), and sends action commands every tick. Any language with an HTTP client works.

3. Docs live on the task page

Each task page has the full game statement, the HTTP API reference, a live scoreboard, your game history with replays, and a Play tab with ready-to-copy commands to get a bot running in seconds.

Tasks

Loading tasks…