# 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