Expand description
Core game environment and phase/interaction execution. Game environment and advance-until-decision loop.
Related docs:
Structs§
- Debug
Config - Debug instrumentation settings.
- EnvInfo
- Metadata describing the current environment state for info payloads.
- Fault
Record - Latched per-env runtime fault metadata.
- GameEnv
- A single Weiss Schwarz environment instance with deterministic RNG state.
- Step
Outcome - Outcome from applying a single decision action.
Enums§
- Engine
Error Code - Engine error codes surfaced in outputs.
- Fault
Source - Stable source location for a latched env fault.
Constants§
- CHECK_
TIMING_ QUIESCENCE_ CAP - Maximum check-timing iterations allowed before faulting (prevents infinite loops).
- HAND_
LIMIT - End-of-turn hand limit enforced by cleanup rules.
- STACK_
AUTO_ RESOLVE_ CAP - Maximum stack depth the engine will auto-resolve before faulting.
Functions§
- legal_
action_ ids_ cached_ into - Compute legal action ids into a reusable output buffer.