Spellbound
README.md
sb_engine
Spellbound's match engine — a pure, deterministic turn-based duel state machine. Owns Aether ramp, mulligan, draw/fatigue/overdraw, summon placement + summoning sickness, attacks (trade/face) with Ward/Haste/ Barrier/Lifesteal/Freeze/Stealth/Spellpower, spell + Cast/Echo effect resolution, hero powers, and win/loss. All randomness flows through a seeded PRNG carried in the match table, so matches are reproducible and resumable. No UI, no engine globals. Drives [[sb_ai]] and is presented by [[sb_app]].