Skip to content

Add Craps Roguelike lab: design doc, content pages, and Svelte prototype#134

Draft
tphummel wants to merge 1 commit into
mainfrom
ai/design-roguelike-game-loop-in-svelte
Draft

Add Craps Roguelike lab: design doc, content pages, and Svelte prototype#134
tphummel wants to merge 1 commit into
mainfrom
ai/design-roguelike-game-loop-in-svelte

Conversation

@tphummel
Copy link
Copy Markdown
Owner

Motivation

  • Introduce a new "Craps Roguelike" lab to prototype a run-/stage-based game built on the existing node-craps simulator.
  • Provide a concrete design specification for the loop, domain model, and testing approach to avoid coupling UI to engine internals.
  • Ship a minimal static Svelte prototype to exercise the run/stage loop, deterministic hooks, transcript, and local run history.

Description

  • Add site navigation and lab pages by updating content/experiments.md and creating content/lab/_index.md and content/lab/craps-roguelike/_index.md.
  • Add a comprehensive design document content/lab/craps-roguelike/design.md that defines the domain model, FSM states, engine interface, loop algorithm, UX, storage plan, and a testing strategy.
  • Add a static Svelte prototype under static/craps-roguelike/ including App.svelte (implements a mock engine, run/stage loop, deterministic roll sequence input, transcript, local localStorage history, and export) and index.html (loads and compiles the Svelte component in the browser).

Testing

  • No automated tests were added or executed as part of this change.
  • A detailed automated test plan is included in content/lab/craps-roguelike/design.md that outlines unit and integration tests, fake-engine patterns, and storage/export validation to be implemented in follow-ups.

Codex Task

@cloudflare-workers-and-pages
Copy link
Copy Markdown

cloudflare-workers-and-pages Bot commented Apr 18, 2026

Deploying tomhummel-com with  Cloudflare Pages  Cloudflare Pages

Latest commit: 357e603
Status: ✅  Deploy successful!
Preview URL: https://1db9a8e6.tomhummel-com.pages.dev
Branch Preview URL: https://ai-design-roguelike-game-loo.tomhummel-com.pages.dev

View logs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant