From 3e6d597aef7bd9eb34743ec2b2500d393e978e38 Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 17 Nov 2026 23:38:42 -0500 Subject: [PATCH] ui-duel: document that browser bot matches are unrated (#79 review) Co-Authored-By: Claude Opus 5.5 --- src/game/duel/DuelBotMatch.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/game/duel/DuelBotMatch.tsx b/src/game/duel/DuelBotMatch.tsx index b98d1ba..ee228d6 100644 --- a/src/game/duel/DuelBotMatch.tsx +++ b/src/game/duel/DuelBotMatch.tsx @@ -13,6 +13,8 @@ const BOT_STEP_MS = 300; /** * A bot match in the browser, for eligible players only (BRIEF decisions 2–3): the deck must be * exactly `deckSize` cards the player owns. Off-chain; nothing moves or burns. + * Unrated by design: the whole DuelState (bot hand, library order) lives in the page, so `onFinish` never + * gets a match id and a browser-hosted result must never feed Elo or the ladder (night-review, #79). */ export function DuelBotMatch({ deck, cards, onExit, onFinish, engine, bot, botPool, rules, playerName = 'You', onMine }: { deck: string[]; cards: BotMatchCard[]; onExit: () => void; onFinish: (matchId?: string) => void;