Skip to content

tac0de/night-arcade

Repository files navigation

Night Arcade

Single-page static web arcade built with Vite, TypeScript, Phaser 3, and Vitest.

Play locally

npm install
npm run dev

Open http://localhost:5173/#/.

Deep link example:

  • http://localhost:5173/#/play/neon-drift

Cabinets

  • neon-drift
  • orbital-harvest
  • brick-vault
  • signal-sweeper
  • glyph-merge
  • rail-switch
  • gravity-golf
  • hex-link
  • deck-defense
  • market-rush
  • pulse-memory
  • one-room-rogue

Commands

  • npm run dev
  • npm run preview
  • npm run typecheck
  • npm test
  • npm run build

GitHub Pages

  • 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.yml on pushes to main

Notes

  • Hash routing keeps the app deployable on static hosting.
  • Local progress lives in night-arcade:v1:profile and night-arcade:v1:<gameId>.
  • The home hub auto-discovers game metadata from src/games/*/meta.ts and lazy-loads cabinets from index.ts.

About

Single-page static web arcade built with Vite, TypeScript, Phaser 3, and Vitest.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors