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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

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

Hashes for colosseum-arena-0.1.1.tar.gz
Algorithm Hash digest
SHA256 798b7981b66fee2b20db44af274d765e4d607725109dfa1e2474b5157d37ef8a
MD5 2542a925062010069a8c5bb8a8647f50
BLAKE2b-256 d46665b2449eb47be76d54a369e61e06482dd2fd89276ad928bed5a013109933

See more details on using hashes here.

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

Hashes for colosseum_arena-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f00308c6b7a9fd0a83186e1b07d9df132228742c0303c861d16016834b831d6b
MD5 7616e786de1a250e44c606f8190de415
BLAKE2b-256 49a894679f18fb6ad93f7c20f3be189265dc11cb7f499b75fe96fa3cb93d80a3

See more details on using hashes here.

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