Repository navigation
feat: one tide — the tide run is the daily, framed by the harbor's screens - #9
Merged
Merged
Conversation
…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.
…shes after the play lock
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.
… classic court from the Chart
…h harbor now opens on chapter one
…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.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
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.
What this is
feat/tidekeepers-askandfeat/tide-runcombined into one game. The tide run is the gameplay; the harbor's screens frame it.web/src/run/, rulestide_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.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: passbun run test: 485 pass, 0 failtest: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-browserKnown issues
test:expedition-browser(clickable brand at 320px) andtest:expedition-qa-browser(home controls obscured) also fail at the base57d8565with the same messages.test:expedition-lifecycle-browsernow reaches the court from the Chart and then stops at the same "home obscured" assertion.