Splits the single game.js god-class into layered modules (types, data, engine, game, preview, ui, main) and converts every source file to TypeScript, built and served by Vite instead of a plain static server. No behavior change: verified against the previous JS version via a full play-through (theme select, preview countdown, coloring, reveal) in a real browser.
15 lines
143 B
Text
15 lines
143 B
Text
# Dependencies
|
|
**/node_modules/
|
|
|
|
# Build output
|
|
**/dist/
|
|
**/.vite/
|
|
|
|
# Env files
|
|
.env
|
|
.env.*
|
|
!.env.example
|
|
|
|
# OS/editor cruft
|
|
.DS_Store
|
|
*.local
|