diff --git a/web/src/routes/online/+page.svelte b/web/src/routes/online/+page.svelte index 731361d..927286b 100644 --- a/web/src/routes/online/+page.svelte +++ b/web/src/routes/online/+page.svelte @@ -54,6 +54,12 @@ */ const QUICK_MATCH_NUDGE_S = 20; + // The rung last played, if this browser has one, so the nudge's bot game + // resumes it rather than opening back on the ladder's own default. + const quickMatchNudgeHref = $derived( + settings.state.lastDifficulty != null ? `/play?difficulty=${settings.state.lastDifficulty}` : '/play' + ); + /** * How long a held request waits before the screen stops saying "connecting" * and starts saying something the player can act on. The backoff is capped @@ -539,14 +545,18 @@ {#if game.state.queued} -
{fill(t.quickMatchWaiting, { n: session.state.queuedForS })}
+ the way out. The running seconds sit outside the live region: + inside it, a screen reader announced "n giây" on every tick. --> +{t.quickMatchWaiting}
+ {#if session.state.queuedForS >= QUICK_MATCH_NUDGE_S}{t.quickMatchNudge} - {t.quickMatchNudgeLink} + {t.quickMatchNudgeLink}
{/if}{t.quickMatchHint}
+{t.createRoomHint}
+