Build and review turn-based Rust game flow using turn-state enums, phase-specific schedules, intent messages, movement resolution, combat resolution, wait actions, and win/loss states.
Build and review turn-based Rust game flow using turn-state enums, phase-specific schedules, intent messages, movement resolution, combat resolution, wait actions, and win/loss states.
Use when implementing roguelike turns, tactical action order, ECS message entities, or decoupled input and action systems.
Similar popular skills
Related neighbors and high-traction skills in the same topics — useful to compare before installing.
Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.
Claude CodeDeclared
CursorNot declared
CodexDeclared
GitHub CopilotNot declared
WindsurfNot declared
Gemini CLINot declared
ClineNot declared
OpenCodeNot declared
Repository health
Stars1
LicenseLICENSE
Default branchmain
Open issues0
Status
Active
Skill metadata
Parsed from SKILL.md frontmatter.
Version0.1.0
LicenseMIT
CompatibilityCodex, Claude Code, and other Agent Skills-compatible clients.
Declared agentsclaude-codecodex
More metadata
version
0.1.0
displayName
Rust Turn Intent Systems
category
Rust
tags
rust,gamedev,turn-based,ecs,intent
Package contents
Files included with this skill beyond the listing page.
skill mdSKILL.md1,629 B
docsSUMMARY.md339 B
History
First seen on skills.sh
First recorded snapshot · 54 installs
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.
Read Next
Read references/turn-intent-patterns.md for phase design, intent messages, ordering rules, and review checks.
Source Notes
Guidance is transformed and paraphrased from Hands-On Rust Chapters 7, 8, 9, and 13 and from the official companion source repository. The patterns are generalized for Rust ECS projects and do not require using Legion.