A free, offline-first math game built for my 7-year-old son. Web app, French UI, designed to play on iPad as a Home-Screen PWA.
bun (never npm — preinstall hook errors)@sveltejs/adapter-static — pure SPA, runs from any static hostidb for IndexedDB persistence (single Profile blob)vitest for the engine (61 tests covering generators, mastery, Leitner, sampler, session)All CC0 (public domain):
Sound effects pulled from another personal project.
bun install
bun run dev
Open http://localhost:5173.
Useful routes:
/ — home/levels — world map/play — current level/play?level=N — preview/play any level (dev escape hatch)/play?replay=N — replay a beaten level at its snapshot bands/shop — buy hero skins/debug — engine debug page (mastery state, Leitner queue, fast-forward)bun run test:run # 61 vitest tests
bun run check # prettier + eslint + svelte-check
Deploys as a static SPA. vercel.json is configured for Vercel + bun + adapter-static. Connecting the GitHub repo to Vercel should be enough.