Skip to main content

build-game

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

Informações da origem

Repositório
adobe/data
Última atividade na origem
30 de setembro de 2026 às 05:01
Idioma detectado do SKILL.md
inglês
Estrelas
12
Forks
8

Opções de instalação

Por padrão, está selecionado o prompt que primeiro revisa a origem. Você pode mudar para um comando direto ou baixar uma cópia local.

Revise os arquivos de origem

Leia o SKILL.md e os arquivos complementares exibidos pelo SkillsMP antes de decidir se vai instalar.

Exibindo SKILL.md

SKILL.md
Instruções da origem · Visualização somente leitura
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.
Ver no GitHub