{"id":50950109,"url":"https://github.com/mrsombre/codingame-arena","last_synced_at":"2026-06-18T00:32:09.233Z","repository":{"id":352571110,"uuid":"1190993109","full_name":"mrsombre/codingame-arena","owner":"mrsombre","description":"Game-agnostic 1v1 match runner for CodinGame multiplayer challenges. Like Brutaltester but modern and with UI.","archived":false,"fork":false,"pushed_at":"2026-05-08T19:52:23.000Z","size":9610,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-08T21:36:11.264Z","etag":null,"topics":["brutaltester","coding-challenge","codingame"],"latest_commit_sha":null,"homepage":"","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mrsombre.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":"AGENTS.md","dco":null,"cla":null}},"created_at":"2026-03-24T20:21:52.000Z","updated_at":"2026-05-08T19:52:28.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/mrsombre/codingame-arena","commit_stats":null,"previous_names":["mrsombre/codingame-arena"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/mrsombre/codingame-arena","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrsombre%2Fcodingame-arena","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrsombre%2Fcodingame-arena/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrsombre%2Fcodingame-arena/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrsombre%2Fcodingame-arena/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mrsombre","download_url":"https://codeload.github.com/mrsombre/codingame-arena/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrsombre%2Fcodingame-arena/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34471638,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-17T02:00:05.408Z","response_time":127,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["brutaltester","coding-challenge","codingame"],"created_at":"2026-06-18T00:32:08.301Z","updated_at":"2026-06-18T00:32:09.219Z","avatar_url":"https://github.com/mrsombre.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CodinGame Arena\n\nLocal game engine runner for [CodinGame](https://www.codingame.com/) bot programming challenges. Run bot-vs-bot matches offline, analyze results, and watch replays in a built-in web viewer — all without the CodinGame platform.\n\n![Match View](docs/img/match-view.png)\n\n## Features\n\n- **Offline match runner** — execute thousands of matches locally with parallel workers\n- **Match tracing** — save per-match JSON traces for replay and analysis\n- **Built-in web viewer** — React + PixiJS viewer served from the binary, no extra setup\n- **Replay downloader** — fetch replays from codingame.com\n- **Replay conversion** — convert downloaded replay JSON into arena trace format\n- **Trace analysis** — aggregate stats across batches of traces\n\n```shell\n$ bin/arena run winter2026 \\\n    --blue=bin/bot-winter2026-cpp \\\n    --red=bin/bot-winter2026-py \\\n    --seed=100030005000 --simulations 100\n\nSummary: 100 matches played (3.15s)\nStats: wins=29% losses=32% draws=39% avg_score=16.4x17.0 avg_turns=155\nTiming: avg_first_response=29msx198ms avg_turn_response=0msx0ms\n```\n\n![Batch View](docs/img/batch-view.png)\n\n## Supported Games\n\n| Game                  | Slug          | Source              |\n|-----------------------|---------------|---------------------|\n| Winter Challenge 2026 | `winter2026`  | `games/winter2026/` |\n| Spring Challenge 2020 | `spring2020`  | `games/spring2020/` |\n\nThe game slug is the first positional argument for top-level commands that need a game, e.g. `arena run winter2026 ...`, `arena replay winter2026 mrsombre`. Under `arena game`, the action comes first and the game second: `arena game rules winter2026`, `arena game serialize winter2026 --seed=42`. `arena game list` (no game slug) prints every engine currently registered in the binary.\n\n## Commands\n\n| Command   | Purpose                                                 |\n|-----------|---------------------------------------------------------|\n| `run`     | Run one or more match simulations against a player      |\n| `replay`  | Download replay JSON (`get`, `leaderboard` subcommands) |\n| `analyze` | Analyze trace outcomes and game-owned metrics           |\n| `serve`   | Serve the embedded web viewer                           |\n| `game`    | Per-game helpers: `rules`, `trace`, `serialize`, `list` |\n\nRun `arena help \u003ccommand\u003e` for full flag listings.\n\n## Quick Start\n\n### Download Prebuilt Binary\n\nDownload the latest release binary for your platform and rename it to `arena`:\n\n```shell\n# macOS (Apple Silicon)\ncurl -L -o arena https://github.com/mrsombre/codingame-arena/releases/latest/download/arena-darwin-arm64\nchmod +x arena\n\n# Linux (amd64)\ncurl -L -o arena https://github.com/mrsombre/codingame-arena/releases/latest/download/arena-linux-amd64\nchmod +x arena\n\n# Linux (arm64)\ncurl -L -o arena https://github.com/mrsombre/codingame-arena/releases/latest/download/arena-linux-arm64\nchmod +x arena\n```\n\nFor Windows, download `arena-windows-amd64.exe` from the [latest release](https://github.com/mrsombre/codingame-arena/releases/latest).\n\n### Build\n\n```shell\nmake build-arena\nmake build-winter2026-agents\nmake match-winter2026\n```\n\n### Web Viewer\n\n```shell\nbin/arena serve\n```\n\nOpens a web UI at `http://localhost:5757` where you can select bots, run matches, and watch replays.\n\n## Configuration\n\nFlags can be supplied via CLI, environment variables (`ARENA_\u003cFLAG\u003e`, hyphens become underscores — e.g. `ARENA_SEED`), or an `arena.yml` config file in the current directory.\n\n## License\n\n[MIT](LICENSE) © 2026 Dmitrii Barsukov\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrsombre%2Fcodingame-arena","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmrsombre%2Fcodingame-arena","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrsombre%2Fcodingame-arena/lists"}