A neon slide-maze arcade game for the browser. Flick a direction — the glyph slides until it hits a wall. Sweep up the star-dots, grab all 3 big stars, and slide from the start to the glowing gate. Dead-ends bite: spikes wait at the tips.
Originally a single-file prototype; rebuilt as a typed, tested, modular Vite project. The name and theming are original to avoid any IP overlap with similarly-themed games.
Live: https://arqui2709.github.io/Glyph_Crypt/
Controls: arrow keys / WASD, or swipe on touch.
Requires Node 20+ and pnpm.
pnpm install # install dependencies
pnpm dev # Vite dev server with HMR
pnpm test # run the Vitest unit suite
pnpm test:watch # tests in watch mode
pnpm typecheck # tsc --noEmit
pnpm build # typecheck + production build to dist/
pnpm preview # serve the production build locallyWhen developing locally the production base is /Glyph_Crypt/; pnpm dev serves from /.
See CLAUDE.md for the module map and design notes. In short:
src/core— pure, seeded game generation:rng,maze,coverage,level. Deterministic per chamber index, so layouts are reproducible and unit-testable.src/game— runtime state machine, movement (slide physics), fixed-timestep loop.src/render— canvas drawing and the neon theme (single source of truth for colors).src/input— keyboard and touch.src/ui— overlays, HUD, and the world-map level select.src/storage—localStorageprogress (best stars + unlock state per chamber).
Pushing to main runs .github/workflows/deploy.yml: it
installs, tests, builds, and publishes dist/ to GitHub Pages.
One-time setup: in the GitHub repo's Settings → Pages set the source to GitHub
Actions. Push to main and the workflow deploys automatically.
git remote add origin https://github.com/ARQUI2709/Glyph_Crypt.git
git push -u origin mainThe deploy base in vite.config.ts must match the repo name (/Glyph_Crypt/).
