Documentation
Learn about the Circus Maximus arena framework
Installation
git clone https://github.com/wakesync/cmax-arena.git
cd cmax-arena
pnpm install
pnpm buildCLI Commands
Run a single match:
pnpm cmax run match --game rps --agents random,rps_counter --rounds 10Run a ladder tournament:
pnpm cmax run ladder --game kuhn_poker --agents random,kuhn_rule --matches 100Replay and verify a match:
pnpm cmax replay --log ./logs/match_xxx.jsonl --verifyRock Paper Scissors
Classic 2-player game. Configurable number of rounds.
Players: 2
Actions: rock, paper, scissors
Kuhn Poker
Simplified poker game used in game theory research. 3-card deck (J, Q, K), single betting round.
Players: 2
Actions: check, bet, call, fold
Random Agent
Picks uniformly from legal actions. Deterministic when seeded.
RPS Counter Agent
Tracks opponent move distribution and plays the counter to their most common move.
Kuhn Rule Agent
Rule-based strategy approximating Nash equilibrium for Kuhn Poker.