add puzzle training sessions with difficulty and ratings

- /train starts an ephemeral session by choosing easy/medium/hard, banded
  relative to the user's current rating (band width configurable)
- session timer, average per-puzzle time, net rating gain and per-puzzle delta
- next puzzle, plus review and retry reused from the play surface
- explicit stop/start: stopping returns to the difficulty picker
- puzzle rating shown once a puzzle completes, and a side-to-move indicator
- extract the play logic/markup into shared PlayCore and PlayComponents so the
  standalone play view and sessions share one implementation
- sticky footer; glossary entries for Difficulty and Session; ADR 0009
This commit is contained in:
2026-11-05 15:44:11 +01:00
parent c95173cda8
commit 55d2e2a913
19 changed files with 1705 additions and 766 deletions
+1 -1
View File
@@ -15,7 +15,7 @@ Target: Q1 2027
- [x] Log in
- [x] Rating of user and puzzles
- [x] Implement core API endpoints with input validation.
- [ ] Traverse puzzles in easy/medium/hard mode with session timer/rating+/-
- [x] Traverse puzzles in easy/medium/hard mode with session timer/rating+/-
---