dylanebert's picture
improved prompting/UX
db9635c
# 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