7 releases (stable)
| 1.2.2 | Jul 23, 2025 |
|---|---|
| 1.2.1 | Jul 19, 2025 |
| 0.1.1 | Dec 19, 2024 |
#462 in Network programming
363 downloads per month
600KB
5K
SLoC
CG Arena
Local bot arena similar to CodinGame.

Features
- Web UI
- Add/Delete/Rename bots
- Matchmaking
- Rating calculation
- OpenSkill
- TrueSkill
- Elo
- Realtime leaderboard
- Analytics
- Custom leaderboards based on some match criteria (e.g. small maps)
- Visualize bot data, x-axis for turn, y-axis for your param (e.g. average/min/max money on each turn)
- Fully local, but you can expose web server to check leaderboard from your phone
Installation
You would need cargo installed. (Here is how to
install it).
cargo install cgarena
The same command can be used to update CG Arena to the latest version.
Usage
Please check the full usage documentation here.
You can also check the example setup guide for CodinGame.
Building from source
To build CG Arena from source code run the following (make sure cargo and npm are installed):
git clone https://github.com/aangairbender/cgarena.git
cd cgarena
cargo build --release
You can find the executable in /target/release folder.
Thanks
Thanks to
Dependencies
~52–71MB
~1M SLoC