You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[M0-S1] Scaffold Phaser 3 + TypeScript + Vite in game/ #22
npm run build runs tsc --noEmit then vite build; npm run typecheck exists
npm test runs Vitest; one example test for a pure function
game/src/core/events.ts: the typed event bus from docs/13 (enemy-defeated, player-hit, player-died, region-turned, boss-defeated, save)
Placeholders in game/public/assets/placeholder/ at the docs/13 sizes, loaded through the same contracts the real art will use
game/README.md: install, run, build; Node 22
Notes and dependencies
Stack and folder layout: 08 – Tech stack. Folder names follow the lanes in 12 – Team workflow (src/player, src/combat, src/scenes, …). Owner: Vatsal – lane B, game code (docs/13).
Verification
Fresh clone on a second laptop: dev server and build both work.
Activity
[-]Scaffold Phaser 3 + TypeScript + Vite in game/[/-][+][M0-S1] Scaffold Phaser 3 + TypeScript + Vite in game/[/+]