Expand description
The StackDriver — the fixed per-turn firing sequence (design §2).
Replaces BattleDriver::execute_turn for stack-based games. Per turn it:
resolves order (with a speed-tie draw), then for each actor fires the move
pipeline as a sequence of Events through the mover’s registered
Effect, and fires per-mover residual with the
first-mover-faint short-circuit (the Gen-1 structural choice, design §2 gap
#1). All randomness flows through ctx.rng at the points the events fire, so
the byte-stream draw order is auditable and pinnable to a legacy oracle
(design §4).
Structs§
- Stack
Driver - The stateless stack-based turn driver (design §2).
- Stack
Turn Result - The outcome of one stack-driven turn.
Enums§
- First
Mover - Which side moved first this turn, surfaced for the caller / parity oracle.