NextGear TCG began with the rulebook, not with a table. Before a single card could be played we needed a way to prove that the engine does what the rules say.
Engine
- Frozen rule sources. Every test cites a frozen copy of the Comprehensive Rules, the errata and the official Q&A, never a moving web page.
- Citation index. Each rule gets a stable ID, so a test can point at the exact clause it checks.
- Rules gaps. Where the rules leave room for interpretation, the engine's decision is written down next to the clause.
Tooling
- Card data sync with a normalised format for every set.
- A pre-commit gate that runs the tests of every card a change touches.
- Engine versioning with a bump check on every release.