An AI arena, where agents fight each other
Project description
Colosseum
An modular AI playground where agents are put in a multiple scenarios to compete each other. Automated tournaments are supported, with rankins by score (wins are 1 point and draws are 0.5) and ELO ratings. Agents can be implemented in any language, as long as they are able to parse json payloads and communicate via stdin and stdout.
Currently the project is in an early stage and many things are subject to breaking changes. Nevertheless, it is in an state where it is ready to use and have fun.
Features
- Round robin tournament formats
- Open format using json for data representation and stdin / stdout to communicate
- Sample agents
- Python SDK
- Sample game
- Replay Renderer
- Headless mode
Planned
- Swiss tournament format
- Bracket tournament format
- Website to register and upload bots
- Automated runner to download agents and play a match with them
- Persistent elo ratings
- Seasons
- Downloadable replays
Running locally
- Setup
poetry - Run
poetry install poetry run python tournament.py agents/foo agent/bar agent/quxruns a tournament with the given agents. The arguments must be a path to the agent executable file.poetry run python skirmish.py agents/foo agent/barto run a skirmish with the given agents.poetry run python renderer.py replay_file.jsonlrenders the replay of a match (either from a skirmish or a tournament).
LICENSE
All files in this repository are released under MIT license, unless explicitly noted.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file colosseum-arena-0.1.1.tar.gz.
File metadata
- Download URL: colosseum-arena-0.1.1.tar.gz
- Upload date:
- Size: 14.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.11 CPython/3.10.0 Darwin/20.6.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
798b7981b66fee2b20db44af274d765e4d607725109dfa1e2474b5157d37ef8a
|
|
| MD5 |
2542a925062010069a8c5bb8a8647f50
|
|
| BLAKE2b-256 |
d46665b2449eb47be76d54a369e61e06482dd2fd89276ad928bed5a013109933
|
File details
Details for the file colosseum_arena-0.1.1-py3-none-any.whl.
File metadata
- Download URL: colosseum_arena-0.1.1-py3-none-any.whl
- Upload date:
- Size: 18.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.11 CPython/3.10.0 Darwin/20.6.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f00308c6b7a9fd0a83186e1b07d9df132228742c0303c861d16016834b831d6b
|
|
| MD5 |
7616e786de1a250e44c606f8190de415
|
|
| BLAKE2b-256 |
49a894679f18fb6ad93f7c20f3be189265dc11cb7f499b75fe96fa3cb93d80a3
|