Skip to content

feat: Cosmonaut Story Forge family storytelling game - #40

Open
CosmonautJones wants to merge 4 commits into
mainfrom
grok/story-forge
Open

CosmonautJones wants to merge 4 commits into
mainfrom
grok/story-forge

Conversation

@CosmonautJones

@CosmonautJones CosmonautJones commented Sep 7, 2026 •

Copy link
Copy Markdown
Owner

Cosmonaut Story Forge

A pass-the-phone family storytelling game. Five animated story dice (Character, Place, Object, Problem, Wild Twist) seed a spoken round that kids can follow and adults actually want to play.

This is not an AI product. No backend, no accounts, no paid APIs, no telemetry. After load it stays fun offline.

Route

Playable at /work/story-forge via a dedicated App Router page. Now listed on /work with a 1600×900 project still.

Isolated from the dynamic /work/[slug] demo loader so it does not collide with the open Cocktail Mixer Pixi pour work (PR #39).

Core loop

  1. Pick a mode (Family, Silly, Fantasy, Cozy Spooky) and optional Kid Friendly vocabulary.
  2. Add 2 to 5 players. Names are optional.
  3. Roll five seeded story dice.
  4. Pass the phone. Start Turn → tell the next beat → Next Player.
  5. One reroll per story (tap a die).
  6. After everyone has had a turn, Finish the Story and celebrate.

Optional 60s / 90s timer is off by default and never auto-skips a turn.

Polish

Chunky parchment dice, 3+2 phone layout, named player stars, quieter secondary actions, landing hero dice, and a tighter celebration title.

Privacy

Local-only. Favorites, mode, timer, names, and a lightweight completed-story count live in localStorage under cosmonaut-story-forge:*. Vault has a clear reset. Malformed storage fails closed to defaults.

Deterministic seeds

Human-friendly seeds such as COSMO-7F3K. Same seed + mode + difficulty always recreates the same five prompts and title. Replay This Seed and Copy Seed are first-class. Secret seed COSMO-42 is a small Hitchhiker nod.

Mobile / accessibility

  • Mobile-first (320 / 390), large tap targets, safe-area padding
  • No hover-only interactions
  • prefers-reduced-motion skips the dice tumble
  • Semantic buttons, visible focus, keyboard usable
  • Categories identified by shape + icon + label, not color alone
  • Optional sound is muted by default

Tests / checks

  • Focused Story Forge tests: engine, storage, landing → roll UI
  • project-assets.test.ts updated to 13 unique 1600×900 jpgs
  • Full suite last green at 910 passed / 82 files before the card commit; card tests 8/8 green

Intentionally still deferred

  • Shared demo-loader / [slug] registry left untouched to avoid Cocktail Mixer PR conflicts. The dedicated /work/story-forge page is the playable route.
  • Next.js production npm run build on this machine (Supabase env not present).

Do not merge until you have played a round with the family.

Pure seeded RNG, themed decks, kid-friendly filtering, one-die rerolls,
local vault persistence, and reducer coverage for turns and timers.
Pass-the-phone dice table with modes, optional timer, Story Vault,
reduced-motion rolls, and an isolated /work/story-forge route.
Chunky parchment dice, 3+2 mobile layout, named player stars,
quieter secondary actions, and a tighter celebration title.
Add a work-page card, 1600×900 still, and the project-assets count
so the dedicated /work/story-forge route is discoverable.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant