A small Tetris PWA built with Svelte 5 + TypeScript + Vite. Mirrors the stack used by the sibling 2048 project.
npm install
npm run dev
Then open http://localhost:5173.
npm test
npm run build
Output goes to dist/. The Vite config sets base: '/tetris/' for production builds so the app works when served from https://<user>.github.io/tetris/. Locally base stays /.
.github/workflows/deploy.yml deploys dist/ to GitHub Pages on every push to main. Enable Pages → Source = "GitHub Actions" in the repo settings.