Spaces:
Running
Running
File size: 621 Bytes
794cf6c db9635c 794cf6c db9635c 794cf6c db9635c 794cf6c |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 |
# Game Components
Game rendering and error display
## Purpose
- Render game canvas
- Display game errors
- Manage game lifecycle with reload protection
## Layout
```
game/
βββ context.md # This file
βββ GameCanvas.svelte # Game rendering with automatic reload
βββ GameError.svelte # Error message display
```
## Scope
- In-scope: Game display, error UI, reload management
- Out-of-scope: Game logic, physics
## Entrypoints
- `GameCanvas.svelte` - Main game rendering component
## Dependencies
- gameStore for game state
- gameEngine service for lifecycle
- uiStore for error state
|