# Idlegame Idle/incremental text-fantasy RPG, built as a responsive web app and PWA. ## Stack - TypeScript strict - Vite + React 19 - Zustand for view state - Pure TypeScript engine under `src/engine` - Zod-validated content and saves - Biome, Vitest, Tailwind v4, vite-plugin-pwa ## Development ```powershell pnpm install pnpm dev ``` Before pushing a branch: ```powershell pnpm typecheck pnpm lint pnpm test:coverage pnpm build ``` ## Current Scope M0 is a walking skeleton: one resource, one timed action, fixed-timestep engine, versioned saves, offline credit, persistence, and a minimal React shell. M1 adds the first playable vertical slice. ## Documentation - Architecture: `docs/architecture.md` - Tech stack ADR: `docs/adr/0001-tech-stack.md` - M0 plan: `docs/plans/2026-06-11-m0-bootstrap.md` Design, story, decisions, credentials, and durable session memory live in the Obsidian vault under `Idlegame/`, not in this repository.