Skip to content

World polish: new look, every scene at the art standard, show-me lessons, map roads - #13

Open
joshuaroll wants to merge 5 commits into
mainfrom
polish/2026-11-16
Open

joshuaroll wants to merge 5 commits into
mainfrom
polish/2026-11-16

Conversation

@joshuaroll

@joshuaroll joshuaroll commented Nov 17, 2026 •

Copy link
Copy Markdown
Owner

Summary

A polish pass on the island game, in nine rounds: a new default look, automatic layout, a reworked opening, every story scene raised to one measured art standard, lessons that show instead of ask, map roads drawn from a table, a rebuilt home designer, two achievement fixes and steadier tooling.

Look

  • New default look in js/look-next.css and js/look-next.js, every rule scoped to body.look-next. ?look=classic brings the old look back for the tab.
  • Foam and cloud shadow sit on their own layers beside the island SVG. Inside it they repainted the whole map every frame: 14 fps without a GPU against 60 for the old look. Now 45 to 55 fps on the same machine, 60 at phone size.

Layout

  • The orientation picker is gone. The screen shape picks tall or wide, and the Settings toggle wins once used.

Opening and story

  • The opening is one scene from the storm to the first clue. The start scene waits for Begin, and story text arrives word by word.
  • The Dock Keeper arrives before he teaches and the player wakes once. A reordered story carries rev, so a stale bookmark restarts it instead of skipping its puzzle.
  • Scenes for the 14 beats that had none: Your Home (6), Fishing Pond (5), Maddie's Yacht (3).
  • The Anagram Engine shows the clue alone, not the story beat around it.
  • The wreck is not named on the map until the player has been down.
  • Admin codes moved into Settings.

Art standard (rounds five to nine)

  • scripts/scene-levels.cjs measures every scene (shapes, colours, depth planes, loops, eased share, tempos) against the floor in design/scene-levels.json. npm run levels reports, and check:levels runs inside verify. The standard is written up in design/STYLE.md under "Levels".
  • All 162 story scenes are now at level and every location is held to the floor.
  • Raising a scene is additive: depth planes, surface material, grounded props with contact shadows, eased ambient motion. No clue text and no character was changed, checked per scene against the previous commit.
  • Maddie's yacht is one boat, a superyacht, across the map marker, the panel icon, the maze and her scenes.
  • A few frames stay bare or still on purpose, and their own comments say so: wreck_8, hidden_end_4, hidden_end_5, hidden_end_17.

Lessons

  • No "lessons or not" choice. Each place teaches the trick its own story asks for: Docks hidden words, Forest anagrams, Cafe initial letters, Town reversals.
  • The teaching unfolds under the clue on the first wrong answer or hint, and a clean solve skips it.
  • Teaching copy never says a clue has a fixed number of parts.

Map

  • Roads are a table (ROAD_NODES, ROAD_KINDS, ROADS) drawn by buildRoadNetwork() under one group opacity, so crossings never stack. A road shows when the places it needs are unlocked.

Home designer

  • Palette tabs with furniture thumbnails, room depth and shadows, a progress chip and a phone layout.
  • New pieces find a free spot. Free-placed items scale across screen sizes.

Achievements

  • Social Butterfly fires from every share path.
  • Exploration badges arrive with the location instead of one visit late, which makes Completionist reachable.

Tooling

  • scripts/serve.cjs replaces python's http.server for tests and preview.
  • scripts/render-scenes.cjs renders all 162 scenes (it used to skip home, pond and yacht).
  • Test timeout 60s, expect 10s. The art token check no longer trips on CRLF.
  • The confirm dialog always opens with focus on Cancel.

Clue content

No clue text, answer, hint or wrong-answer reaction changed. Clue text drawn in scenes is verbatim, and data/clue-freeze.json is untouched.

The 39 story and lesson clues are now frozen too, in data/story-clue-freeze.json. That freeze is keyed by place, so moving three lessons to new places turned the check red with every clue byte-identical. Joshua regenerated it by hand after confirming the move was pure relocation.

Test plan

  • npm run verify green: 162 scenes linted with 0 errors and 0 warnings, both clue freezes intact, 162 of 162 scenes at level, all 8 spoiler exclusions present
  • npm run test:e2e: 108 of 108
  • New specs: e2e/polish.spec.ts, e2e/home-designer.spec.ts, e2e/map-roads-and-yacht.spec.ts, plus the lessons cases in e2e/lessons-and-anatomy.spec.ts. e2e/questline.spec.ts is tracked for the first time.
  • Before and after of every changed scene reviewed and approved by Joshua, one page per place
  • Full playthrough by hand on desktop and phone
  • npm run check:compose in the deploy repo before shipping

Not in this PR

  • The five Listening Post errands still wait on commissioned clues, as do the Mystic Peak homophone clue and the Town mixed board.
  • Maddie has no approved character model, so she stays out of frame in her scenes.
  • Nothing is deployed. Merging this does not change the live site.

🤖 Generated with Claude Code

…fixes

Look
- New default look (js/look-next.*), scoped to body.look-next. ?look=classic
  is the way back for the tab.
- Foam and cloud shadow live on their own layers beside the island SVG.
  Inside it they repainted the whole map every frame (14 fps without a GPU).

Layout
- No orientation picker. The screen shape picks tall or wide; the Settings
  toggle wins once used.

Story
- Opening reordered so the Dock Keeper arrives before he teaches and the
  player wakes once. A reordered story carries rev so stale bookmarks restart.
- Scenes for the 14 beats that had none: Your Home (6), Fishing Pond (5),
  Maddie's Yacht (3). Clue text is verbatim; the clue freeze is unchanged.
- Anagram Engine shows the clue alone, not the story beat around it.
- The wreck is not named on the map until the player has been down.

Home designer
- Palette tabs with thumbnails, room depth and shadows, progress chip, phone
  layout. New pieces find a free spot; free-placed items scale across screens.

Achievements
- Social Butterfly fires from every share path.
- Exploration badges arrive with the location, so Completionist is reachable.

Tooling
- scripts/serve.cjs replaces python's http.server for tests and preview.
- Test timeout 60s, expect 10s. Art token check no longer trips on CRLF.
- Confirm dialog always opens with focus on Cancel.

Tests: 85 Playwright tests in 10 specs (polish and home-designer are new,
questline is tracked for the first time). npm run verify green.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@vercel

vercel Bot commented Nov 17, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
bit-cryptic-world Ready Ready Preview Nov 29, 2026 1:13am UTC

…the hidden word

- INTRO_STORY is the storm and the rescue only (5 beats, rev 3). Its button
  unlocks the Docks silently and starts STORIES.docks, so the player no
  longer stops at the map between the two.
- STORIES.docks holds all the teaching (9 beats, rev 3): the two halves, the
  Reward example split in two, the note's clue, then the lessons question.
- Docks beat 2 no longer points at the mirror line, the lead-in to the first
  clue says nothing goes backwards, and the Lore Archive line matches.
- keepStoryControlsInView() brings a long beat's controls into the panel.
- Tutorial phase 1 shows only to a player who left the opening early.
- e2e: three new tests in polish.spec.ts, 88 in total.

Clue text, answers, hints and wrong-answer replies are unchanged; the clue
freeze is intact. Changed lines signed off by Joshua 2026-11-17.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
check:clues only ever saw the 12 location clues written as a `clue:`
property. The 29 STORIES puzzle steps and the 10 TUTORIALS practice clues
keep their clue inside a step's `text`, so a reworded story clue passed
the gate with "Freeze proof intact".

- checkStoryClues() evaluates both literals as the game reads them and
  holds each clue, answer, hint and wrong-answer reply against
  data/story-clue-freeze.json. Enumeration must match the answer length.
- Keyed by a puzzle's place among its story's puzzles, so moving or
  rewording narration is not a clue change.
- Its own flag, --update-stories. A missing manifest fails the check.
- The hash separator was a raw NUL byte, which made the script binary to
  git. It is now the \0 escape; the 12-clue digest is unchanged.

Baseline approved by Joshua 2026-11-17 and identical to origin/main
7256f93. Still unhashed: hints on the 12 location clues.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Start scene
- A new save now opens on the island at night in the rain with the wordmark
  and one Begin button. Nothing plays until Begin (or Enter).
- The HUD and place labels stay hidden until the player wakes on the dock.
- The storm stays up for the two beats at sea (steps marked sky: 'storm'),
  then clears as the camera comes down onto the pier. Closing the story
  early clears it at once.
- Rain redrawn as short slanted streaks. Reduced motion gets no rain
  movement, lightning or camera move.
- First-visit loading lines removed; they told the intro before it began.

Text pace
- Word by word is the default again. A chosen pace is kept.

Admin codes
- Settings has an Admin Code box. "unlock" opens every ordinary location,
  "secret" also opens the six secret places. Case and outer spaces ignored.
- Neither marks a story complete. "secret" saves POG with Gamer mode off
  and leaves out BOSTON.

Tests
- New e2e/start-and-admin.spec.ts (7 tests). polish and smoke specs press
  Begin on a blank save. 95 of 95 pass; npm run verify green.

No clue text, answer, hint or parse changed; both clue freezes intact.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
All 162 story scenes now meet the measured art standard (the look of the
workshop, the detail of the house), and every location is held to it.

Art
- Raise every scene file additively: depth planes, surface material,
  grounded props with contact shadows, eased ambient motion. No clue
  text and no character changed (checked per scene against HEAD).
- Yacht redrawn as a superyacht across map marker, panel icon, maze
  and scenes. Town square has no branch in its sky.
- Frames that are bare or still on purpose stay that way: wreck_8,
  hidden_end_4, hidden_end_5, hidden_end_17 (see CLAUDE.md).

Tooling
- scripts/scene-levels.cjs with the floor in design/scene-levels.json;
  npm run levels, and check:levels inside verify.
- render-scenes.cjs renders all 162 scenes.

Map
- Roads are a table (ROAD_NODES, ROAD_KINDS, ROADS) drawn by
  buildRoadNetwork; e2e/map-roads-and-yacht.spec.ts guards road ends.

Lessons
- Skill order: Docks hidden words, Forest anagrams, Cafe initial
  letters, Town reversals. Lessons unfold under the clue on the first
  wrong answer or hint; no "lessons or not" choice.
- Teaching copy never says a clue has a fixed number of parts.
- Story clue freeze regenerated by Joshua after the lessons moved
  (pure relocation, clue content byte-identical).

Checks: npm run verify passes; Playwright 108 of 108.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@joshuaroll joshuaroll changed the title World polish: new look, auto layout, 14 scenes, home designer, badge fixes World polish: new look, every scene at the art standard, show-me lessons, map roads Nov 29, 2026

This branch was successfully deployed

1 active deployment
Preview — f9789d67 Deployed Nov 29, 2026 by vercel[bot]
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