What problem does it solve?
Interactive effects pause game resolution to wait for player input, then resume. The core mechanism is the continuation pattern, which allows a waiting state to stash remaining sub-abilities and resume after a response, enabling complex card interactions like Scry, Dig, Surveil, and Search.
Core Features & Use Cases
- Continuation-driven waiting states (WaitingFor) and pending_continuation to pause and resume ability chains.
- Engine wiring that propagates targets, resumes on GameAction responses, and handles subsequent waiting states.
- AI support and multiplayer routing patterns to generate and validate legal actions for interactive decisions.
- Frontend UI integration with modals and card/option selections to collect player input.
Quick Start
Create a new interactive effect by implementing a resolver that sets a WaitingFor state, stores a continuation, handles the player's response to resume the chain, and integrates AI, multiplayer, and frontend UI patterns.