10a43729c5883e7613029bfc2f2ace22665fc811
- RightRail: add Inventory section (placeholder "Items coming soon") between Resources and Event Log, matching the existing heading style - RightRail: gate Event Log section on prefs.showEventLog; add local-state collapse toggle with aria-expanded and chevron indicator - SettingsPanel: add "Show event log" checkbox row bound to prefs.showEventLog via setPrefs, matching existing card styling - PlayPanel: gate mobile EventLog behind prefs.showEventLog for consistency with desktop; mobile ResourceBar unchanged
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
pnpm install
pnpm dev
Before pushing a branch:
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.
Languages
TypeScript
99.5%
CSS
0.3%
HTML
0.2%