Engines¶
gorge is the full rules engine. dirac is a smaller, much faster one that must play every card it supports exactly as gorge does.
flowchart LR
F[Forge scripts] --> I[gorge IR]
I --> G[gorge]
I --> K[kgen]
K --> D[dirac]
G <-->|lockstep| D
- 64 games per core-second on gorge and 1,759 on dirac (random play, FDN decks, 2026-11-05; Performance)
- 3.1 µs per dirac transition, with no allocation (2026-11-11)
- 2 seats on dirac, up to 8 on gorge
-
Supported cards by Standard set, per engine.
-
Run the tools, or embed them in Go.
-
Which searches run where, and the net runtime.
-
Record games, load a trained net.
-
Events, rules, views, and the dirac internals.
-
Numbers, method, and design invariants.