From 68d9c60c148f8fff027c432f78d40f73606f592a Mon Sep 17 00:00:00 2001 From: mnovak Date: Sun, 1 Nov 2026 12:35:28 +0100 Subject: [PATCH] [docs] Roadmap: Add the author's phase plan and gameplay loop --- docs/GAMEPLAY.md | 100 +++++++++++++++++++++++++++ docs/ROADMAP.md | 175 +++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 275 insertions(+) create mode 100644 docs/GAMEPLAY.md create mode 100644 docs/ROADMAP.md diff --git a/docs/GAMEPLAY.md b/docs/GAMEPLAY.md new file mode 100644 index 0000000..ad93d85 --- /dev/null +++ b/docs/GAMEPLAY.md @@ -0,0 +1,100 @@ +# Rosea Domi — gameplay loop (decided 2026-10-28) + +Rosea is still a game: every visit has real things to do. Art serves play, never replaces it. Core +purpose: training for real relationships — the habits learned tending the rose and the fox are the +habits Amicitia Domi needs with people. Amicitia is promoted openly (§5); its door opens when the fox +starts leading to real people. + +## 1. The rose + +- Actions with a touch of skill (feel, not a button): water (pour slowly until the leaves lift; too + much is as bad as too little), shade from wind at the right moment, pull overnight weeds, gather + fallen petals. +- She drifts, never breaks. Neglect makes her turn away and close a little (like a friend drifting to + an outer circle in Amicitia). Nothing earned disappears. +- Short visits only hold her; real time brings full bloom (mirrors Amicitia: check-ins freeze drift, + real time climbs). +- The daily sentence comes from the rose, not from the sunset clock. She waits with a folded petal; + best given at sunset, but never missed. Coming back on nearby days gives a little more (e.g. an + earlier sentence remembered). A gap is never punished; no streak counter exists. + +## 2. Numbers — measured and transparent + +Her face and posture are the surface. One tap opens the real numbers: water, warmth, care hours, +trend. Everything measured is visible on request; nothing is hidden, nothing is shouted. + +## 3. The fox + +- Taming is touch and food: pet and brush the fox; feed it. +- The rose tells you what the fox wants today. +- Food = berries, gathered by tending forgotten roses of other players. A forgotten rose stays theirs; + tending it ripens the wild berry bush beside it. Anti-farming: one harvest per forgotten rose per + day, and only when the care actually helped (e.g. water when she truly needed it). +- Your own rose's growth decides berry quality: wild strawberries → blueberries → raspberries → + blackberries → rose hips (the rare top treat; the rose's own fruit — ties rose and fox together). +- No trees, no apples, no hunting, no extra creatures. Keep the screen minimal. + +## 4. Teaching the player + +- The game is taught in play: the rose and the fox speak in speech bubbles — "this is what you need to + do" — and remind the player when something is forgotten. Never assume the player read anything. +- Bubble text comes from the curated copy library (no free text, same rules as the hope library). +- A Letter from the Gardener holds the deeper why and can be re-read any time — it is never required + to understand how to play. + +## 5. From roses to real people — the bridge to Amicitia (decided) + +- Amicitia Domi is promoted openly as the door to real contact. +- Players are known only by the name they give their rose (a nickname; it may be their real name if + they choose). Rosea never knows real names. +- Lantern: once the path between two roses has grown into a road, either player may light a lantern + ("I'd like to talk"). A one-sided lantern is invisible to the other. When both have lit one, the + game says so. +- No personal data exchanged: the two apps swap anonymous keys device to device; each appears in + Amicitia under their rose's name. +- Before a match, curated sentences sent from the rose carry the Amicitia icon and "sent through + Amicitia" — a visible taste, no real contact. After a match, free conversation happens only in + Amicitia, never in Rosea. +- No doors, no closing. Rosea has no "close the door" action; paths only grow. A lit lantern stays + lit. Whether a connection lives or fades is Amicitia's concern, not Rosea's. +- Safety note (Claude's judgement): Rosea needs no block because it has no free text; Amicitia, where + free text begins, must still have a quiet safety block for harassment — not promoted. + +## 6. The first days, and the journey as the second pillar (decided) + +- Main risk (Claude's view, agreed): lonely players are the ones who quietly drop off. The beauty is + not the hard part; the first days must be rewarding enough that players stay long enough to be + changed by the game. +- Tending the rose and the fox alone is not yet enough gameplay. The second pillar is the journey: + visiting the lonely grown-ups' planets (king, vain man, drunkard, businessman, lamplighter, + geographer), each with its own real things to do — so there is always somewhere to go and something + new to discover from day one. +- Design rule: every early session ends with visible progress and a reason to return tomorrow (a new + place glimpsed, a berry kind closer, the fox a step nearer) — never with guilt. + +## 7. The first minutes — and what Rosea is (decided, corrected 2026-10-28) + +- Rosea Domi is its own game, by purpose: it exists to lead players into Amicitia Domi. It is not a + Little Prince game and never presents itself as one. +- From Saint-Exupéry it takes one idea: taming/binding someone makes you responsible for them, and + tending is how that responsibility is lived. The book is complementary inspiration, nothing more. +- The planets and lonely grown-ups stay as a quiet, familiar echo that makes the first minutes feel + recognisable — never named, never explained in-game as the book. +- No text from the book; no title, names or "you may know this book" prompts in the game, its name, + logo or marketing (the estate also holds trademarks on the title). +- A Letter from the Gardener is where everything is taught: the one sentence of inspiration, the river + of life, why the art looks as it does, and how the game leads to Amicitia. +- The Letter is clear about the difference: Rosea's philosophy and many of its small things (berries + and rose hips, the lanterns, the paths between roses, the real sunset, the shared sky, Amicitia) + were never in the book. The familiarity is a doorway; what lies behind it is Rosea's own. + +## 8. How much comes from the book — stated precisely (decided) + +- Taken as reference: the book's structure and the shape of the gameplay loop (rose, fox, the journey + through the lonely grown-ups' planets) — almost the whole book is echoed in the game. +- Skipped: the pilot in the desert. It does not translate into play and has no place in Rosea. +- Visual style: a direction only — never, ever copying the illustrations (see `art/STYLE.md`). +- Rosea's own philosophy: the paths, and the river of life with its whirlpools, drawn from Pascal and + Nietzsche and Mark's "vortex of continuum". These are explained in A Letter from the Gardener. +- Idea, open: a companion book in which these philosophical concepts are evaluated and written out at + length — the Letter is its short form. diff --git a/docs/ROADMAP.md b/docs/ROADMAP.md new file mode 100644 index 0000000..82e90c9 --- /dev/null +++ b/docs/ROADMAP.md @@ -0,0 +1,175 @@ +# Rosea Domi — phase plan + +Working document. Lives at `docs/ROADMAP.md`. Companion to [`CLAUDE.md`](../CLAUDE.md) (the operating +manual) and [`ART.md`](ART.md) (the illustration pipeline). + +--- + +## 0. The thing to decide before anything else + +Rosea joins a queue that already holds NARTOR, Memoria, Ludus, Panda Domi and others. The failure mode +is not "Rosea is a bad idea" — it is many products at 70%. + +So **Phases 0–1 are a spike, not a commitment**: the rose alone, the sunset, the library, offline, on +a real phone. At the end of Phase 1 there is one honest question — *did the real sunset become part of +my day?* — and a no is a legitimate answer that leaves a reusable sentence library and a sun module +behind. + +Solo evenings-and-weekends pace. Durations are calendar estimates, not effort (assumption). + +--- + +## 1. Naming + +`Rosea` — Latin *rose-coloured*: the colour of the sky at sunset and of the rose. Working name. +In public always **Rosea Domi**; *Domi* never stands alone. Final name, trademark and domain checks are +open (§6). The help section is **A Letter from the Gardener**. The discovery service is **Lucerna** +(*lantern*). + +--- + +## 2. What makes this different + +Most games for lonely people either pretend to be a friend or count everything. Rosea does neither. +Its unit of value is **time given to someone else** — and its best moments send the player *away* from +the screen: to the real sunset, the real sky, real people. + +Three consequences run through every phase: + +1. **Growth comes from total care, never from a streak.** Nothing earned ever disappears. +2. **No free text, no counting of people.** Comfort is chosen from a curated library; friendship is + shown as a path, never a number. +3. **Every beauty has a real twin.** Sunset, sunrise and constellations are real, computed on device. + +--- + +## 3. Architecture in one paragraph + +A pnpm/Turbo monorepo in TypeScript. `packages/schema` holds the contracts and generates the types. +`packages/engine` is pure — growth, taming, the shared sky, and the sun maths, with time as a +parameter. `packages/content` holds the hope library and its validator. `packages/storage` is the only +module that opens IndexedDB, `packages/identity` the only one that holds keys, `packages/sync` the only +one that talks to friends (WebRTC, Phase 3). `apps/rosea` is a **Svelte 5 + Vite PWA** — web first, +from a link, no store — built by GitHub Actions and hosted on **GitHub Pages**, with a Gitea mirror. **Rust** is used where it earns its place: `services/lucerna`, the optional +anonymous discovery service (Axum + SQLite, Phase 4), and later a **Tauri 2** shell for Android and iOS +that gives local notifications without a server (Phase 6). All player state is an append-only event log; +every visible thing is a pure function of it. + +--- + +## 4. Phases + +Each phase has a gate: a question with an observable answer. Failing it means the next phase does not +start. + +### Phase 0 — Foundations · ~1–2 weeks + +- Repo, `.gitignore`, the 5 MB pre-commit hook, remotes, `CLAUDE.md`, this roadmap, `ART.md`. +- `packages/schema` with the hope-sentence and care-event contracts; the library validator with its + **negative fixtures**; `lint:copy` with the forbidden-words list. +- The first **60 sentences** of the library, each sourced and verified public domain. +- **Art**: `art/STYLE.md` drafted with Mark, `art/manifest.json` for Phase 1 assets, Claude's SVG + placeholders, and the **art preparation page** (`tools/art-prep`) working end to end on one asset. +- A slot for *A Letter from the Gardener* — the author writes it; agents only scaffold the page. +- **Decision recorded:** how the sunset invitation reaches the player on the web (see the notification + trap in `CLAUDE.md` §8). + +**Gate:** `validate:library` passes on the 60 sentences and **fails on every negative fixture** with a +message naming the problem; one illustration has gone through the full pipeline — prompt, paste, +automatic checks, Claude's review, Mark's approval — into `art/final/`. + +### Phase 1 — The rose alone · ~3–4 weeks · the spike + +- One rose with her face: care with a touch of skill (water by feel, shade, weeds, petals), moods, + thorns, growth from **total** days of care, drift instead of loss, her numbers one tap away, and + speech-bubble teaching (`docs/GAMEPLAY.md` §1–2, §4). +- **The sun**: real local sunset and sunrise, on device; polar day/night handled. Location: the player is asked *"Where do you want your sunset?"* (a city, skippable); if skipped, it is guessed from the device time zone. **Never GPS.** A finer guess (country from IP or carrier) is an open idea — it costs a network call, so it must be weighed against local-first. +- **The in-game sunset** — move the chair, watch it again — as comfort and rehearsal; it tells the + player when the real one is tonight. +- **The day's sentence comes from the rose** (`docs/GAMEPLAY.md` §1): she waits with a folded petal; + sunset is the best moment to open it, but it is never lost and no streak exists. +- Installable PWA, fully offline, `navigator.storage.persist()`, export-my-rose. +- The offline Playwright suite. + +**Out of scope:** planets, fox, friends, any server. + +**Gate — the spike's real question.** Mark plays it daily for two weeks on his phone. Then: *did he go +and look at the real sunset without the game nagging him, and did the rose make him want to come back?* +Yes on both is a go. Yes only on the second means a pleasant toy, not Rosea. No on both is a clean stop. + +### Phase 2 — The planets and the fox · ~4–6 weeks + +- The planets of lonely grown-ups, one at a time, each designed in its own feature doc (they need not + all work the same way). +- The fox follows at a distance and comes closer through **how the player acts**; short taming at the + end of the journey. +- Collections: visitors who leave mementos while the player is away; the "sheep album" of the rose's + strange requests; rare visitors with hidden conditions (sunrise-only visitors among them). +- The *Geographer's book* — optional, private numbers about the player's own time. + +**Gate:** a player who has never heard of the book finishes the first three planets and can say, in +their own words, what one of them felt like. + +### Phase 3 — Friends · ~4–6 weeks + +- Tending a friend's rose; their fox brings them a real trace (a petal in your colour) and, now and + then, a comfort line **you chose from the library**. +- Thanks as one optional gesture — their fox visits your rose. +- Paths between roses: footprints → trail → road. +- Friend-to-friend sync over WebRTC: care travels like letters and merges when devices meet. +- Invite by link; no account. + +**Gate:** five friends, two weeks, no reminders from Mark. *Do they come back on their own, and does +at least one of them describe a moment of being cared for?* + +### Phase 4 — The shared sky · ~4–6 weeks · opt-in, separable + +- `services/lucerna` in Rust: anonymous traces only (coarse cell, day bucket, gesture, auto-delete). +- The shared night sky made of **real constellations**; acts of care light it; a completed + constellation opens a new planet for everyone. +- The lamplighter's wave: lamps following the sunset around the globe. +- Keeping an absent stranger's rose alive with light — anonymous, no contact. +- The consent ladder toward strangers: traces → a light → foxes meet only if both agree. + +**Gate:** deleting `services/lucerna` leaves Phases 1–3 fully working, with no dead controls and no +errors. + +### Phase 5 — Real meetings and sharing · ~3–4 weeks + +- One shared daily moment for everyone, and a spoiler-free image of your sky to share. +- Group meetings in public places only (in the spirit of community days); never one-to-one. +- The yearly moment on the anniversary of the player's first day. + +**Gate:** a share image leaves the device containing nothing that identifies the player or anyone +else. + +### Phase 6 — Stores and money · ongoing + +- Tauri 2 shell for Android and iOS: local sunset notifications without a server. +- Monetisation — **not decided** (§6). Constraints already set: tending others is always free; no + ads, no subscription-only, no sale of data. + +--- + +## 5. Risks, stated as risks + +| Risk | Why it could kill this | What reduces it | +|:--|:--|:--| +| **It makes a lonely person feel worse** | Guilt, comparison or an unanswered gesture hurts most the people this is for. | The Soul section in every review; `soul.md`; no counts, no streaks, no neglect notifications. | +| **Cold start** | Phases 3–5 need people; Mark will have few players for months. | Phases 1–2 must stand alone; the fox's path to people comes after the game is already worth playing. | +| **Content volume** | 365 sourced sentences and many planets is a lot of careful work. | Start with 60 sentences; library grows by tradition; the validator keeps quality. | +| **Web notifications** | The sunset invitation may need a push server on the web, with a privacy cost. | Decided in Phase 0; the Tauri shell later removes the server. | +| **Copyright** | The book and Tolkien are protected; a too-close image or line is a legal problem. | Forbidden-names lint; likeness check in the art pipeline; ideas only. | +| **Medical-device scope** | Wellbeing claims can pull the app under medical rules. | Forbidden words in all copy, store text included. | +| **Safety around strangers** | Lonely people are the people a scammer looks for. | No free text, ever; consent ladder; group meetings in public only. | +| **One more product** | It competes for the same evenings as everything else in Domi. | The Phase 1 gate, treated as a real decision. | + +--- + +## 6. Open questions + +- **The sunrise mechanic** beyond sunrise-only visitors. +- **The visual style.** Decided with Mark in `art/STYLE.md` before any final art is generated. +- **The final name**, trademark and domain checks for Rosea Domi. +- **Money.** Only the constraints are fixed (Phase 6). +- **The Letter from the Gardener** — written by the author; its philosophy is his and is signed by him.