Skip to main content

build-game

Build a game — an application whose features model game state, rules, and rendering.

ソース情報

リポジトリ
adobe/data
ソースの最終更新活動
2026年9月30日 05:01
検出された SKILL.md の言語
英語
スター
12
フォーク
8

インストール方法

デフォルトでは、最初にソースを確認する Prompt が選択されています。直接コマンドに切り替えるか、ローカルコピーをダウンロードすることもできます。

ソースファイルを確認

インストールを決める前に、SKILL.md と SkillsMP に表示されている付属ファイルをお読みください。

SKILL.md を表示中

SKILL.md
ソースの指示 · 読み取り専用プレビュー
name
build-game
description
Build a game — an application whose features model game state, rules, and rendering.
input
game
output
game
/build-application — a game is an application. Map game concepts to feature layers: data/ = value types, rules math, components, resources (the board, the player, the score) and entities (the pieces); spec/ = the game state + moves (+ one pure function per system); indexes = spatial/lookup queries; transactions + actions = moves/spawns; computed = score/status/winner; ui = view + input. - **Turn-based** uses the reactive transaction → computed → ui loop, no systems (see data-lit-tictactoe). - **Real-time** adds the `build-systems` phase: a per-frame tick loop (movement, collision, lifetime) driven by the scheduler, over many entities in distinct archetypes. Systems must stay O(1) per touched entity — never project the whole `State` into/out of the store each frame, and never turn per-row work into per-entity transactions. Each system conforms alone and as a frame (see `features/ecs/systems.md`). This is where components, archetypes, indexes, and systems all carry real weight.
GitHubで見る