Skip to content

feat: one tide — the tide run is the daily, framed by the harbor's screens - #9

Merged
dadadave80 merged 55 commits into
mainfrom
feat/one-tide
Nov 14, 2026
Merged

dadadave80 merged 55 commits into
mainfrom
feat/one-tide

Conversation

@dadadave80

Copy link
Copy Markdown
Owner

What this is

feat/tidekeepers-ask and feat/tide-run combined into one game. The tide run is the gameplay; the harbor's screens frame it.

  • The tide run (web/src/run/, rules tide_run_v1): three lanes, twelve waves. Mochi picks up what each wave leaves and banks it at the dock before the water lands. Three story chapters (Beacon Lens, Signal Vane, Wind Moth) lead to the lit beacon.
  • The daily on a lit device harbor is today's tide run. Its three stamps are the day's asks: come home with something, match or beat Bram's guess (a tie earns it), keep dry paws. They show live as painted chips in the move tray. The first tide each day counts; later sails are practice.
  • The frame: the harbor card, Today's tide, the Home sheet, Bram's tide log and Bram's shelf all follow today's result. A finished daily files itself and opens the Home sheet. Bram shelves the reed and glass, up to three of each; pearls stay with Mochi.
  • Unchanged: signed-in harbors keep the Tidekeeper's three-ask court as their daily. On device harbors that court is still reachable from the Chart's Beacon Court entry.
  • Interface: the tide-run screen follows the interface system in web/DESIGN.md: a card HUD with Mochi's portrait, cream secondary pills, quiet underlined links, 44px targets. Sticky panel headings now pin to the panel edge, and the landscape end card fits its content.

Checks run locally at 29d1284

  • bun run typecheck: pass
  • bun run test: 485 pass, 0 fail
  • Browser suites that pass: test:tide-browser, test:tide-run-browser, test:season-browser, test:expedition-harbor-browser, test:expedition-touch-browser, test:routing-browser (Chromium and WebKit), test:records-browser
  • The full tide-run daily played in Chromium at 1280x800, 412x860, 390x844 and 844x390 with no page errors

Known issues

  • test:expedition-browser (clickable brand at 320px) and test:expedition-qa-browser (home controls obscured) also fail at the base 57d8565 with the same messages. test:expedition-lifecycle-browser now reaches the court from the Chart and then stops at the same "home obscured" assertion.
  • On phones the wave forecast's second line scrolls inside the move tray with no cue. Letting the board shrink when the tray grows would fix it.

…y on time

askHolds reports whether an open ask is met right now; askStatus settles on it. A return with an empty satchel keeps no asks. A better late run no longer relabels a day sailed on time. Wave and bridge text name the lanes.
The release build drops the VITE_SEASON2_ENABLED setting; the shelf ships with the daily tide.
One loop: the Tidekeeper's ask, a find brought home, Bram shelves the haul, trades for Shells, Mochi's wish. Today's tide tab is gone; a Today's haul block offers each dockable return or points back to today's ask. Signed out, shelving works as a labelled device preview, once a day. No player-facing text says season.
harborTide covers four states (not sailed, all three kept, slipped, rescued), previews tomorrow's card and offers Take it to Bram when today's best came home with a find. Earlier tides start at the first logged day. Result sentences: all three kept, the Tidekeeper's way, an empty satchel keeps no asks, singular decisions. Simultaneous slips share one sentence; the splash chip counts past one.
An open chip that would be kept as things stand fills teal with a tick and pops once when it starts holding. When an outing ends, the log page's ask marks stamp in one after another, then the page stamp presses. Reduced motion shows the end state. The log's way reads in decisions and notes when Mochi matched it.
…ier tides

The restart-while-busy check records the disabled state with a MutationObserver instead of polling.
Felt-miniature key art of Mochi, the Tidekeeper and Bram, with the wordmark set in the game's own fonts. Provenance beside the image.
…tutter

The moth-only chip says the lens was taken; the splash chip counts splashes past one. The arrival marks and page stamp start hidden and press in, instead of sitting at rest and jumping; the page stamp's arrival honours reduced motion. The ask list keeps a margin when it scrolls into view.
…g else

Bram's shelf now ships without a flag and reads season views over public testnet RPC. The check counts those read-only call_function queries and still fails on any other request leaving the page.
Nineteen gpt-6-astra masters (four harbor place signs, three interchangeable Mochi portraits, twelve ask icons) cut from their cream backdrop into 174 KB of WebPs with a manifest and provenance record; the release build allowlists them.
…nd a disclosure

One 'Device preview · not recorded' badge replaces the repeated disclaimers, the haul to shelve is the primary pill with its painted goods, buy and sell are separate item cards, and the pricing formula moves into 'How Bram prices this'. Mochi's wish says it needs a saved harbor instead of pointing at the menu.
… pills

Focused planks get a shape-following glow instead of a rectangle, the prompt and 'First Light' sit on dark pills for contrast, volume pips are 44px targets with 'Music 4 of 5' labels, and Back and Sound off are secondary pills.
…oncept

One interface system on top of the painted world: cream cards with one
shadow, a green primary pill per surface, cream secondary pills, SVG line
icons, visible focus on cream and over the scene, and generic hovers under
:where() so place labels never turn cream on cream.

Harbor home follows the daily loop (See today's ask, Take it to Bram, Sail
again, Tomorrow's card) in a bottom bar on desktop and a card above a
Chart/Log/Satchel/Menu dock on phones. Beacon, Bram, Workbench and Satchel
are painted driftwood signs; on phones Mochi and Bram stand above the card.

Coming home opens a Home sheet: the day's stamp presses in, the asks tick
in, the result is the headline, and keeping all three shows Mochi's proud
portrait. The tide log opens at its top with sticky close controls, and
closing any panel returns focus to whatever opened it.

The court gets a Mochi status card with a portrait (splashed after a
splash), pips and one hidden sentence for screen readers; the surge
forecast reads "Next wave: left lane"; the Tidekeeper's asks are painted
icon chips inside the move tray so they never cover Mochi or the board.

Two bugs the browser suites caught: Phaser hit-tested Mochi through the
harbor card, so "Take it to Bram" also sat Mochi down and cancelled
itself; and Safari never focuses a clicked button, so panels could not
return focus to their opener.
Lifting the phone board above the taller move tray left the DOCK label half under the tray; on portrait phones it now sits on the dock platform's lower rim.
A wave lands every third move and leaves prizes; Mochi grabs them and
banks at the dock. Rules are tide_run_v1: pure, replayable from a seed
and a move list. Three fixed story tides bring the lens, the vane and
the moth home; daily tides are seeded by the UTC day and scored against
Bram's guess.
…de run

A new device harbor's main button starts chapter one as a tide run.
Once the beacon is lit the Tidekeeper's ask keeps the main button and
the next chapter, or today's tide run against Bram's guess, sits beside
the preparation chip. A tide in progress is saved per move and can be
left and resumed. Signed-in harbors are unchanged.
…retried

Reloading on the end card kept neither the story prize nor the day's
result, because a finished tide was dropped when the book was read. It
is now read back as saved and the end card returns. Filing a tide
reports failure on the end card instead of doing nothing, and reduced
motion turned on mid-move stops the remaining animation.

Found in review by gpt-6.1 sol, which also wrote the fix.
…pass

The pearl and the vane were drawn with code; they are now painted
sprites in the same hand as the season goods, with masters, prompts and
provenance kept beside the other art. The tide-run status, forecast,
lane countdown, end card and guide follow the interface system, and the
phone controls sit in one row so they clear the dock.

Art and interface by gpt-6-astra through Codex.
At 844x390 the dock row and Mochi clear the bottom edge, the DOCK label sits under her on the rim, the tray reading scrolls above fixed 44px buttons, and the daily end card fits without scrolling.
…d Bram's shelf take a tide-run day

Additive run variants beside the classic three-ask ones, which signed-in harbors keep:
TideAsk {day, card, guess, result}, TideHome {result}, log pages of kind run via
logPages(records, entries, results), harborTide {guess, result}, tideSummary(entries, results)
and SeasonBram run={todayResult}. The three stamps, the haul and their words live in
tide/run-day.ts.
On a lit device harbor the harbor card, Today's tide, the Home sheet,
Bram's tide log and Bram's shelf now follow today's tide run. Its three
stamps show live as painted chips in the move tray; a finished daily
files itself and opens the Home sheet with the day's result. The
three-ask court stays reachable from the Chart's Beacon Court entry,
and signed-in harbors are unchanged.

The tide-run screen follows the interface system: card HUD with Mochi's
portrait, cream secondary pills, quiet underlined links and 44px targets.
…ard fits its content

Sticky headings and the close button stuck at top:0, the inner edge of the panel's padding, so scrolled content showed above them. They now stick at minus the panel padding. In phone landscape the tide run's end card stretched to the bottom with its button top-aligned in a side column; it now fits its content with both columns centred.
@vercel

vercel Bot commented Nov 14, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated
familiar Ready Ready Preview Nov 14, 2026 4:03pm UTC

@dadadave80
dadadave80 merged commit 91b5194 into main Nov 14, 2026
3 checks passed
@dadadave80
dadadave80 deleted the feat/one-tide branch November 14, 2026 16:06

This branch was successfully deployed

1 active deployment
Preview — 29d1284d Deployed Nov 14, 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