|
|
|
|
|
by coeneedell
288 days ago
|
|
IIRC the rules system for magic the gathering: Arena is generated by a sort of compiler fed the rules. You might not even need a modern coding assistant to build out something reasonable in a DSL that is perfect, then have people (or an LLM after fine tuning) transforms rule books into the DSL. |
|
There's a lisp variant involved, and IIRC even a parser that reads the card text to auto-generate the rules code for most of the cards.