No description
game-tetris.ds demonstrates DreamStack signal composition: - Layer 1: Data signals (20 grid rows, piece state, next piece) - Layer 2: Physics signals (gravity tick, drop speed, level scaling) - Layer 3: Input signals (keyboard events -> movement commands) - Layer 4: Derived signals (lock detection, line clear, game over) - Layer 5: Sound signals (lock, clear, game over tones) - Layer 6: Stream signals (30+ signals broadcast for spectators) Board: 10x20 grid, 7 piece types, ghost piece indicator Controls: Arrow keys, space (hard drop), P (pause) Side panel: next piece preview, stats, signal layer key Compiles to 76KB HTML+JS |
||
|---|---|---|
| bench | ||
| compiler | ||
| engine | ||
| examples | ||
| registry | ||
| .gitignore | ||
| BITSTREAM_INTEGRATION.md | ||
| Cargo.toml | ||
| DREAMSTACK.md | ||
| IMPLEMENTATION_PLAN.md | ||
| STREAM_COMPOSITION.md | ||
| USE_CASES.md | ||