Skip to main content

build-game

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

Quellinformationen

Repository
adobe/data
Letzte Quellaktivität
30. September 2026 um 05:01
Erkannte Sprache von SKILL.md
Englisch
Sterne
11
Forks
8

Installationsoptionen

Standardmäßig ist der Prompt ausgewählt, der zuerst die Quelle prüft. Sie können zu einem direkten Befehl wechseln oder eine lokale Kopie herunterladen.

Quelldateien prüfen

Lesen Sie SKILL.md und alle von SkillsMP angezeigten Begleitdateien, bevor Sie sich für eine Installation entscheiden.

SKILL.md wird angezeigt

SKILL.md
Quellanweisungen · Schreibgeschützte Vorschau
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.
Auf GitHub ansehen