PROJECT 03 / 03
GRAILS OF WAR
A complete digital card game designed, engineered, and shipped entirely solo. A fusion of strategic resource management and high-variance mechanics, built across web and native mobile platforms.
THE ARCHITECTURE
Powered by a custom, framework-agnostic TypeScript engine. Core state transitions operate entirely decoupled from the UI using a draft-mutation pattern, allowing the exact same deterministic game logic to drive both a React web client and a native Expo application.
THE ENGINE
A specialized effects layer resolves complex card abilities, resurrection hooks, and 30 unique location modifiers. The engine operates purely headlessly, communicating with the render layer strictly through transient event queues while a probability-driven AI evaluates optimal plays.
THE CONTENT PIPELINE
Engineered a custom data pipeline to manage scale. Node and Python code generators parse plain-text design documents, compiling 214 unique cards, 8 factions, and extensive lore directly into strictly typed code—ensuring a single source of truth.
THE PRESENTATION
Rendered through a bespoke gothic-CRT aesthetic. Phaser 4 orchestrates animated board states bridged seamlessly to a React DOM, backed by a dual-mode low-latency audio architecture and an integrated original soundtrack player.