Magic: The Gathering
Magic: The Gathering (PC, 1993) has an open-source reimplementation, Card-Forge/forge, and 4 other public projects, including a matching decompilation and a decompilation. An agent environment already wraps it.
Data checked 2026-10-12 · unbaked registry
Projects
An unofficial rules engine for the world's greatest card game.
GitHub
XMage - Magic Another Game Engine
GitHub
A decompilation of the original Microprose Magic the Gathering game aka Shandalar
A decompilation of the original Microprose Magic the Gathering game aka Shandalar; no GitHub releases; repo created 2026-08-26
README reports ~98.23%; no GitHub releases; repo created 2026-09-16
A high-performance Magic: The Gathering rules engine in Rust, designed as a substrate for reinforcement-learning research.
New (2026-10)
What you need
You need your own copy of the game: these projects ship code only.
Agent environments
Same toolchain
More on PC
GitHub data checked 2026-10-12. Notes are summaries from the research pass; the project pages are the authority.