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.
Projects
An unofficial rules engine for the world's greatest card game.
XMage - Magic Another Game Engine
A decompilation of the original Microprose Magic the Gathering game aka Shandalar
A high-performance Magic: The Gathering rules engine in Rust, designed as a substrate for reinforcement-learning research.
README reports ~98.23%; no GitHub releases; repo created 2026-09-16
Missing a project, or something wrong here? Suggest a project · Report a fix
What you need
You need your own copy of the game: these projects ship code only.
Agent environments
Same toolchain
More on PC
How this page was made
Every repository here was checked against GitHub on 2026-11-23 for existence, stars, licence and last push.
Each project's description is its own, or a summary written during research; the project's own page is the authority.