Repository navigation
feat(tutorial): make the steps hints that open on click, and give every stage one - #116
Merged
Merged
Conversation
…e goals free of hints The steps are now the hints. Stages 2 to 5 had none, so a player stuck there had nothing to turn to; each now has one that tells how to build the circuit. Stage 5's goal told how to join the two adders, which moves to its step along with the Or it left out. Stage 6's last step, on playing and hexadecimal, is not a hint and stage 7 relies on it, so it moves to the goal. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The steps are closed at first, so that a player sees the hints only when asking for them. The first stage's steps stay open, as they teach how to use the editor rather than how to build the circuit. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…'s table note next to the table Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…d the circuit "Steps" alone did not tell a stuck player that the closed section holds the way to build the circuit. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… no hints Closing them offered the note for a stuck player, which does not fit steps that teach how to use the editor. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Deploying create-cpu-c8345196-9409-4cce-afc4-389f413ad8ee with
|
| Latest commit: |
ea9c22c
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://ddcfa9fa.create-cpu-c8345196-9409-4cce-afc4-389f413ad8ee.pages.dev |
| Branch Preview URL: | https://feat-collapsible-steps.create-cpu-c8345196-9409-4cce-afc4-389f413ad8ee.pages.dev |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
With no explainer at the exhibition, a player stuck on stages 2 to 5 had nothing to turn to: those stages had no steps, and stage 5's only clue sat in its goal. The steps are now the hints, closed until the player asks for them, and the goals keep no explicit hints.
stages.ts.Testing
npx vitest run(308 tests),npx tsc -p .andnpx biome check srcpass. The existing tests check that the new texts mark the same values and controls in both languages and name only real pins, parts and titles. Opening and closing is drawn by React, which the tests do not cover.🤖 Generated with Claude Code