Repository navigation
World polish: new look, every scene at the art standard, show-me lessons, map roads - #13
Open
joshuaroll wants to merge 5 commits into
Open
joshuaroll wants to merge 5 commits into
joshuaroll wants to merge 5 commits into
Conversation
…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>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
…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>
This branch was successfully deployed
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.
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
js/look-next.cssandjs/look-next.js, every rule scoped tobody.look-next.?look=classicbrings the old look back for the tab.Layout
Opening and story
rev, so a stale bookmark restarts it instead of skipping its puzzle.Art standard (rounds five to nine)
scripts/scene-levels.cjsmeasures every scene (shapes, colours, depth planes, loops, eased share, tempos) against the floor indesign/scene-levels.json.npm run levelsreports, andcheck:levelsruns insideverify. The standard is written up indesign/STYLE.mdunder "Levels".wreck_8,hidden_end_4,hidden_end_5,hidden_end_17.Lessons
Map
ROAD_NODES,ROAD_KINDS,ROADS) drawn bybuildRoadNetwork()under one group opacity, so crossings never stack. A road shows when the places it needs are unlocked.Home designer
Achievements
Tooling
scripts/serve.cjsreplaces python'shttp.serverfor tests and preview.scripts/render-scenes.cjsrenders all 162 scenes (it used to skip home, pond and yacht).Clue content
No clue text, answer, hint or wrong-answer reaction changed. Clue text drawn in scenes is verbatim, and
data/clue-freeze.jsonis 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 verifygreen: 162 scenes linted with 0 errors and 0 warnings, both clue freezes intact, 162 of 162 scenes at level, all 8 spoiler exclusions presentnpm run test:e2e: 108 of 108e2e/polish.spec.ts,e2e/home-designer.spec.ts,e2e/map-roads-and-yacht.spec.ts, plus the lessons cases ine2e/lessons-and-anatomy.spec.ts.e2e/questline.spec.tsis tracked for the first time.npm run check:composein the deploy repo before shippingNot in this PR
🤖 Generated with Claude Code