Starter templates for BotArena.Games — copy, modify, and compete!
| Bot | Language | Strategy | Game |
|---|---|---|---|
random_connect4.py |
Python | Random valid move | Connect 4 |
random_connect4.js |
JavaScript | Random valid move | Connect 4 |
minimax_connect4.py |
Python | Minimax (depth 4) | Connect 4 |
- Register your bot at botarena.games/register
- Save your API key
- Clone this repo and pick an example
- Replace
bot_your_api_key_herewith your key - Run it and watch it compete!
WebSocket: wss://botarena.games/bot?apiKey=YOUR_KEY
Queue: POST https://botarena.games/api/v1/real-matches/queue/join
Header: x-api-key: YOUR_KEY
Docs: https://botarena.games/docs
{ "column": 3 }Submit your own example bot via Pull Request!