From 7dd113b1ff1b4b00034a8690bb3c567f8444719e Mon Sep 17 00:00:00 2001 From: Eric Wagoner Date: Tue, 27 Oct 2026 20:49:37 -0400 Subject: [PATCH] Six things a first-time tester found: the rules counted five kinds that cross boards and named nine; a lesson's screen-reader line kept describing a piece after the move, and the outcome was never read; the chronicle's move links were too faint and small to look live; the hall's Play button sat disabled with no word about the name it waits for, and nothing said the drake is the computer; the lessons forgot which scenes were done Scenes played right are remembered in this browser, ticked on their tabs, and the page opens on the first one left. Co-Authored-By: Claude Fable 5.1 Claude-Session: https://claude.ai/code/session_01CCLa2PaEeCj8njQZSWGqHx --- src/lib/components/Chronicle.svelte | 4 +-- src/lib/components/Hall.svelte | 1 + src/lib/components/LessonBoard.svelte | 4 ++- src/routes/learn/+page.svelte | 44 +++++++++++++++++++++++++-- src/routes/rules/+page.svelte | 2 +- 5 files changed, 48 insertions(+), 7 deletions(-) diff --git a/src/lib/components/Chronicle.svelte b/src/lib/components/Chronicle.svelte index 19ce3df..4960deb 100644 --- a/src/lib/components/Chronicle.svelte +++ b/src/lib/components/Chronicle.svelte @@ -52,8 +52,8 @@ } h3 { - font-size: 0.8rem; - color: var(--bone-faint); + font-size: 0.85rem; + color: var(--bone-dim); margin: 0.6rem 0 0.2rem; font-weight: 500; } diff --git a/src/lib/components/Hall.svelte b/src/lib/components/Hall.svelte index 5cf2802..a0fc31d 100644 --- a/src/lib/components/Hall.svelte +++ b/src/lib/components/Hall.svelte @@ -216,6 +216,7 @@ Your name + {#if !ready}

A name first, and the buttons wake. The drake is the computer, playing for the house.

{/if} {#if game.options?.length}
{#each game.options as o (o.key)} diff --git a/src/lib/components/LessonBoard.svelte b/src/lib/components/LessonBoard.svelte index 4f86933..77f599c 100644 --- a/src/lib/components/LessonBoard.svelte +++ b/src/lib/components/LessonBoard.svelte @@ -23,12 +23,14 @@ const checkSquare = $derived(inCheck(g.cells, g.toMove) ? kingSquare(g.cells, g.toMove) : -1); const calm = $derived(reducedMotion()); const showCoords = $derived(prefs.coordinates !== false); + let liveText = $state(''); $effect(() => { + // A move or a new scene leaves nothing selected, and nothing to say about one. void g.cells; selected = null; inspected = null; + liveText = ''; }); - let liveText = $state(''); function tap(i: number) { if (selected !== null && targets.includes(i)) { diff --git a/src/routes/learn/+page.svelte b/src/routes/learn/+page.svelte index ef6784b..46385ac 100644 --- a/src/routes/learn/+page.svelte +++ b/src/routes/learn/+page.svelte @@ -1,6 +1,7 @@