2026-10-16 14:46:50 +03:00
|
|
|
# Tutorial: tasks
|
|
|
|
|
|
|
|
|
|
Work through the tasks in order; each ends with its tests passing and a commit. Tick a task when it is committed.
|
|
|
|
|
|
|
|
|
|
- [x] 1. **Spec**: requirements, design and tasks.
|
2026-10-16 14:50:42 +03:00
|
|
|
- [x] 2. **Core**: `RULES` with examples and lessons, `getMoveOutcome`, `fulfilsTask`, `explainMove`, `captured` and
|
2026-10-16 14:46:50 +03:00
|
|
|
the capture kind in `describeMove`, the storage helpers, texts in English and Turkish; unit tests.
|
|
|
|
|
- [ ] 3. **Rules on the web**: `RuleBoard`, `RulesView`, `/rules`, the help button in `AppHeader`, `RulesPanel` on the
|
|
|
|
|
game page.
|
|
|
|
|
- [ ] 4. **Lessons**: `/learn` with progress, `LessonPage` with the local game, animation, praise, explanation and
|
|
|
|
|
reset, scripted opponent replies.
|
|
|
|
|
- [ ] 5. **Newcomers and practice game**: `TutorialBanner`, `markGamePlayed`, the practice game button.
|
|
|
|
|
- [ ] 6. **Hints**: hint chips on `BoardView`, the explanation line and the "Hints" switch in bot games on `GamePage`.
|
|
|
|
|
- [ ] 7. **Mobile rules**: `RulesScreen`, links from the help and game screens; type check and bundle.
|
|
|
|
|
- [ ] 8. **End to end and docs**: the Chrome tests from `design.md`; `AGENTS.md` (specs list), `TODO.md` (out of scope
|
|
|
|
|
items).
|