Commit Graph

8 Commits

Author SHA1 Message Date
acd60816f7 docs: describe the tutorial
AGENTS.md and TODO.md notes for the tutorial, and the end-to-end results. A
move that ends the game is no longer explained as giving an extra turn.
2026-10-16 15:00:44 +03:00
636127dae4 feat(mobile): show the rules
A How to play screen with the same rules and examples as the web app, opened
from the help screen and from the game screen's help button.
2026-10-16 14:59:33 +03:00
f8ce8f215f feat(frontend): show hints in games against the bot
With hints on, the player's pits show whether their move gives an extra turn
or how many stones it takes, and a line under the board says what the last
move did and why. A Hints switch appears only in games against the bot.
2026-10-16 14:58:56 +03:00
d444447425 feat(frontend): offer the tutorial to newcomers and a practice game
The home page shows newcomers a banner to start the lessons; it goes away for
good after Not now, a lesson or a game. The lessons end with a practice game
against the Easy bot with hints on.
2026-10-16 14:55:51 +03:00
9beb8ba7d4 feat(frontend): add the lessons
Six lessons, one per rule, on the real board with the TypeScript engine: a
task, the move animated, praise or an explanation and a retry. Completed
lessons are remembered on the device.
2026-10-16 14:55:07 +03:00
8511e0b3f2 feat(frontend): show the rules
A How to play page with every rule and a before/after board computed by the
engine, a help button in the header, and the rules in a side panel over the
game page so a game can go on while a rule is looked up.
2026-10-16 14:53:18 +03:00
3a46833e86 feat(core): add the rules, lessons and move explanations
RULES defines every rule with an example and a lesson; getMoveOutcome works
out a move's effect with the engine, explainMove says what happened, and
describeMove now tells the kind of capture and how many stones it took.
2026-10-16 14:50:42 +03:00
9522224bf9 docs(tutorial): add the spec
Requirements, design and tasks for a rules page, interactive lessons and a
practice game with hints against the Easy bot.
2026-10-16 14:46:50 +03:00