rust-turn-intent-systems
Installation
SKILL.md
Rust Turn Intent Systems
Use this skill to make turn-based gameplay deterministic and easy to extend. Separate decision systems from resolution systems: input and AI create intents; movement, combat, inventory, and end-turn systems resolve them.
Core Workflow
- Define the allowed turn phases in one enum.
- Run different system schedules or branches for input, player resolution, monster resolution, and terminal states.
- Convert input and AI decisions into intent components or messages.
- Resolve intents in shared systems so players and monsters use the same rules.
- Remove or mark intents after processing.
- Advance the turn state in one end-turn boundary.