- MCTS (UCT) decision engine for difficulty tiers 6-8 (MctsNode, MctsSimulator, MonteCarloEngine); tiers 6-8 updated from Heuristic → MCTS in AiDifficultyProfiles - AiEloService: separate ELO ledger for AI accounts (ai_elo_records table) so calibration games don't pollute the human RankScore leaderboard - FinalizeGameAsync / FinalizeMultiPlayerGameAsync: AI accounts are now guarded from RankScore and OriginPoints adjustments (IsAi check) - AiPlayerSessionManager: async GameEnded handler calls AiEloService - SelfPlayRunner: pure in-process AI vs AI game loop (no DB, no NATS) - SelfPlayOrchestrator: batch runner loading real decks from DB, parallel games - FeatureExtractor: GameState → float[1024] feature vector for ML training - GameReplayExporter: replays completed sessions → TrainingRecord JSONL - TrainingDataWriter: async JSONL writer - AiCalibrationJob: pairwise self-play calibration (D1vD2…D9vD10), writes AiCalibrationRun rows to GameDbContext - EF migration: ai_elo_records + ai_calibration_runs tables applied to remote DB - SOR.Admin: references SOR.Ai; new AI section in NavMenu with ELO Leaderboard and Calibration pages; SelfPlayOrchestrator + AiCalibrationJob registered Generated with [Claude Code](https://claude.ai/code) via [Happy](https://happy.engineering) Co-Authored-By: Claude <noreply@anthropic.com> Co-Authored-By: Happy <yesreply@happy.engineering>
SOR
Resources
In addition to this gitea repository, the application's servers and webclient are deployed using containers using ArgoCD.
Installation Instructions
Visual Studio Code
Download any version of Visual Studio Code, from here:
Godot Version 4.5.x
Download a version of Godot 4.5.x, preferrably Godot 4.5.2-stable, from here:
The Godot executable doesn't require an installation. Just unzip the godot folder and run the 'Godot_v4.5.2-stable_win64' executable.
Clone Instructions
Only HTTPS clone to VSCode is supported at the moment.
- SSH Clone doesn't work since the repository root doesn't have a .git folder.
On the "Code" page for SOR, click the "Code" button and then click "Open with VS Code".
- Your browser may ask if you want to launch VS Code. Do so.
- VS Code will utilize your browser to authenticate. Do so.
The Client
The Client is a GUI created in Godot.
Modifying the Client in Godot
Once you've cloned the repository, Open Godot.
Then, select "Import".
Open the project.godot file in the Client/origin-client/ folder.
Building the Web Client
When you update the 'main' branch of the SOR Repository, a gitea action will automatically start, building the Godot Web Client.
Deploying the Web Client
After the Web Client is built, you need to restart (not sync) the Deployment object of the sor-webclient application in ArgoCD.
