Design: Token Gaiden v1 — multi-generation Tokegotchi RPG in the Tokade tab#21
Merged
Conversation
docs/02-design/TOKADE_TAB.md - Vision, out-of-scope, ASCII tab layout - Tokegotchi: vitals (Energy, Hunger, Mood), mood-state mapping table, speech lines, age tracking, persistence at ~/.tokade/history/tokegotchi.json - Achievements: 24 v1 badges across Volume, Model coverage, Tools+skills, Rhythm, Budget, Project flavor, Tokegotchi-linked - Telemetry contract pointer to ADR docs/adr/0005-tokade-tab-data-architecture.md - TelemetrySnapshot value type as the single read interface - Game protocol; @mainactor; one-file-per-game registration via allGames - GameStateStore actor as the single write interface (~/.tokade/games/, 0600) - File layout under Sources/Tokade/Tokade/ - Persistence rules - Three CLAUDE.md rules to add when v1 ships - Alternatives considered Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Captures the design that came out of an extended discussion across all
six system layers: tick economy, state model, regions, encounters,
aging/death, and skills.
docs/02-design/TOKADE_TAB.md (rewritten from premature draft)
- Player experience + game loop
- Tab layout sketch
- Six layers with concrete numbers, formulas, and tables
- 49 v1 cosmetic items across 9 slots
- Sprite + animation system summary (links to ADR)
- Open questions deferred to v2+
docs/adr/0005-tokade-tab-rpg-system.md (replaces premature 0005)
- Matrix-as-runtime, SVG-as-design pipeline
- Palette parameterization by role (not RGB)
- Cosmetic composition via z-ordered placeholders
- Rig-based animation (per-part transforms)
- State persistence at ~/.tokade/games/tokegotchi.json
- TickProcessor for telemetry-to-game translation
- Alternatives considered
design/tokegotchi/
- Full sprite design folder: base SVG, compose.py, pixelate.swift,
bake.swift, render_matrix.swift, render.sh
- hair-styles/ (11 styles)
- shirt-styles/ (4 styles) + pants-styles/ (4 styles) + belt-styles/ (2 styles)
- cosmetics/ (hat / eyewear / cape / held — 18 items)
- anatomy-overlay.svg (region + anchor map)
- animation/ (idle, walk-A, walk-B reference renders)
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
- Tokade = the macOS app (unchanged) - Tokade tab = the container tab in the app - Token Gaiden = the v1 game in the Tokade tab (multi-generation RPG saga) - Tokegotchi = the creature you raise (one per save, ancestors in Hall of Fame) Renames the ADR file 0005-tokade-tab-rpg-system.md → 0005-token-gaiden-rpg-system.md and updates header + terminology section. Updates the design doc header, vision, tab layout, and Hall of Fame copy to match. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
10 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Docs + design assets only. Captures the design that came out of an extended back-and-forth across all six system layers + sprite system + animation rig.
Terminology
What this proposes
Token Gaiden is a small RPG fed by real Claude Code telemetry:
The long-term score is how many days each Tokegotchi lived, recorded in a Hall of Fame.
What's in the PR
Design docs
Design assets (`design/tokegotchi/`)
Implementation plan
After merge, implementation lands on a fresh `productionize/token-gaiden-v1` branch following the file layout in the ADR.
🤖 Generated with Claude Code