ShellRunners Runtime
ShellRunners runtime is the game client module embedded inside core frontend game pages.
Runtime Role
- Render gameplay state.
- Bridge player controls to backend authoritative channels.
- Display runtime HUD and controls.
- Emit runtime lifecycle events to parent context.
Embed Behavior
- Core frontend opens runtime in embedded panel/frame.
- Runtime receives bootstrap context from parent.
- Runtime can request token refresh events.
- Runtime can signal exit to parent app.
User Experience Controls
- Pause/resume controls.
- Sound controls.
- Exit controls.
- Status overlays for score/lives/hunger/entities.
Stability Notes
- Runtime startup should avoid repeated scene reboot loops.
- Token refresh and reconnect paths should not force full page reload.
- Embedded mode behavior should remain responsive on smaller screens.
