From 770f5669721ca906ecf63aaffc43c826282ad81c Mon Sep 17 00:00:00 2001 From: Markus Graf Date: Sun, 29 Mar 2026 13:48:56 +0200 Subject: [PATCH] feat(03-02): lesson screen 3-phase state machine with review and repetition - Discover phase: companion introduces new key, key pulses, child presses once - Practice phase: existing letter exercise with cumulative stats - Words phase: word display with active letter highlighting - Review mode skips discover, mixes letters/words from recent levels - Encouragement messages for repetition protection - Phase indicator UI (Entdecken / Ueben / Woerter) - CSS for word display, phase indicator, discover pulse animation Co-Authored-By: Claude Opus 4.6 (1M context) --- index.html | 1 + src/styles/main.css | 51 ++++++ src/ui/screens.ts | 401 ++++++++++++++++++++++++++++++++++++++------ 3 files changed, 406 insertions(+), 47 deletions(-) diff --git a/index.html b/index.html index ddffa58..66a41f6 100644 --- a/index.html +++ b/index.html @@ -67,6 +67,7 @@
+