Single-page static web arcade built with Vite, TypeScript, Phaser 3, and Vitest.
npm install
npm run devOpen http://localhost:5173/#/.
Deep link example:
http://localhost:5173/#/play/neon-drift
neon-driftorbital-harvestbrick-vaultsignal-sweeperglyph-mergerail-switchgravity-golfhex-linkdeck-defensemarket-rushpulse-memoryone-room-rogue
npm run devnpm run previewnpm run typechecknpm testnpm run build
- Default public URL pattern:
https://<github-username>.github.io/night-arcade/ - Example cabinet deep link:
https://<github-username>.github.io/night-arcade/#/play/neon-drift - Deployment is handled by
.github/workflows/deploy-pages.ymlon pushes tomain
- Hash routing keeps the app deployable on static hosting.
- Local progress lives in
night-arcade:v1:profileandnight-arcade:v1:<gameId>. - The home hub auto-discovers game metadata from
src/games/*/meta.tsand lazy-loads cabinets fromindex.ts.