A browser-based chess game originally ported from an old Java implementation (2014), now rewritten in TypeScript.
Live demo: https://shakki.pikseli.org/
- Node.js 18 or later (includes
npm)
npm installStart the Vite dev server with hot reload:
npm run devThen open the URL shown in the terminal (typically http://localhost:5173) in your browser.
Compile TypeScript and produce an optimised production bundle in dist/:
npm run buildServe the dist/ folder locally to verify the production build before deployment:
npm run previewRun the full test suite once and exit:
npm testRun tests in watch mode (re-runs on file changes):
npm run test:watch