인터페이스는 현지화되어 있으며, Skill 소개와 설명 문서는 선택한 언어로 AI가 자동 번역합니다. 코드·명령어·경로·전문 용어는 원문을 유지하며 원작자 문서가 우선합니다.
Skills 둘러보기
개발 및 엔지니어링 · SKILL.md

rust-turn-intent-systems

rust-turn-intent-systems

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.

Independent GitHub snapshot · Automated classification · Original documentation governs

Skill 문서

GitHub

name: rust-turn-intent-systems description: 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. license: MIT compatibility: Codex, Claude Code, and other Agent Skills-compatible clients. metadata: version: "0.1.0" displayName: Rust Turn Intent Systems category: Rust tags: rust,gamedev,turn-based,ecs,intent

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

  1. Define the allowed turn phases in one enum.
  2. Run different system schedules or branches for input, player resolution, monster resolution, and terminal states.
  3. Convert input and AI decisions into intent components or messages.
  4. Resolve intents in shared systems so players and monsters use the same rules.
  5. Remove or mark intents after processing.
  6. 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.

저장한 Skills