Skip to main content

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/qux runs 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/bar to run a skirmish with the given agents.
  • poetry run python renderer.py replay_file.jsonl renders 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

colosseum-arena-0.1.1.tar.gz (14.0 kB view hashes)

Uploaded Source

Built Distribution

colosseum_arena-0.1.1-py3-none-any.whl (18.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page