Host credit per #6: hosted modes show their top players and the network's
host leaderboard (matches hosted). Same-origin GETs, strings capped and
rendered as text. On phones the lobby actions fit one row.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Lane plate shows Opp total on top and You below with the Portal rule and
tie-break reason; results use the engine's lane leaders (on-topic tie);
opponent fizzles never name a card in hand; guest names no longer use
secret characters; pick one of the four starter decks in the lobby;
'+N saved' energy in the turn banner; keyword words fit; hand fade hint;
phones hide node chrome on the Play route and keep the Play button clear
of the floating account button.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Per night-lead's rule on #5 the adapter no longer exposes MatchState to
bots; a test checks no RNG state, seed or deck order leaks.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Owned NFTs derive with deriveCard() and council-data's percentile table
(check 'unchecked': cost capped, no live trend in browser practice).
Loaner pool = the four §2.1 starter decks; the deck builder can start
from any of them; the bot plays one picked by seed.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Found with a two-browser test against the modes host: the seat-1 player
saw Defeat after winning (ResultView is now viewer-relative), and a poll
could cancel the move to the results screen.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
MatchBoard renders any PlayerView; the local controller runs the engine
and bot, the online controller polls the host lobby API (create, join,
draft picks, actions, resign). Player secret is HMAC(master, hostOrigin)
per night-review. Illegal local moves no longer throw inside a state
updater.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Replace the mock with an adapter over shared/game/index.ts: Topics with
stats and hidden Portals, home-stat icons and on-topic hints, queued
plays with undo, interleaved reveal log, engine deck validation, loaner
starter decks, interim NFT derivation (cost-capped). Lobby reads the
modes API (self + peers) and links to peer hosts; the account chip uses
the SSO hook; the floating account button hides during a match.
MatchView.engine / UIAction.engine expose engine state for ui-b's bots.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Mobile-first game UI in src/game/, built against a UI-side EngineAdapter.
A temporary mock 3-lane engine (src/game/mock/) stands in until
shared/game lands. Tap a card, then tap a lane; bottom thumb dock; bottom
sheets instead of hover; full-screen match on phones. Lobby lists local
and peer modes (GET /api/game/modes, parsed defensively) and shows the
eom.dev login state through a stub hook for the SSO team.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Interleaved reveal, alternating initiative, energy carry, onTopicBonus by cost,
consensus tie-break, hidden Portals with visible stats, laneCapacity 3, Portal
capacity/canPlay/atScoring/allOnTopic hooks, keywordsEnabled dispatch, §10.3
default Topic pool, global reveal seq. KEYWORDS/PORTALS left to engine-b.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
mulberry32 uint32 seed with the §4 draw order, Topics with stats and Portals,
staggered reveal, initiative and underdog rules, queue/undo/commit/timeout
actions, §9 flat RulesConfig with zod bounds, viewFor hidden info, replay.
cards.ts left to engine-b; placeholder loaners in starter.ts.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>