Spaces:
Running
Running
| # 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 | |