Repository navigation
fix(tutorial): word check failures for players, and outline the parts they name - #110
Merged
Merged
Conversation
… Check - The simulation errors no longer say "simulated", "node", "input pin" or "feed back". A loop is told by what the wiring does and why it cannot run, Input and Output nodes are named by their pin as they are shown, and an unconnected pin by its name on the part. A worded error is shown on its own, without a sentence before it saying the same. - A missing stage pin is told by its side, as the stage texts do, and the message has its own reset button, as the one at the end of the stage text may be out of view. - A loop found by Check is outlined in red, as the message says, as it already was on play. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… outline - An evaluation failure keeps the sentence before it and stays worded in the language shown, as only loop, unconnected pin and bit width errors word themselves. - Check goes back to the stage's circuit when it outlines parts there, as the outline cannot be seen while a part is open. - Input and Output nodes are named by their role, translated, so that an Output inside a part is not read as that part's pin. - The English loop sentence reads more naturally, and the outlined nodes are worked out only when the result changes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Deploying create-cpu-c8345196-9409-4cce-afc4-389f413ad8ee with
|
| Latest commit: |
bd9dfed
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://455ee425.create-cpu-c8345196-9409-4cce-afc4-389f413ad8ee.pages.dev |
| Branch Preview URL: | https://fix-tutorial-check-messages.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
The Check failures and the editor's play errors used words a visitor who does not know logic circuits cannot follow, such as "simulated", "node" and "feed back", and named Input and Output nodes by English part names in Japanese. A loop found by Check said "outlined", but nothing was outlined outside play mode.
Testing
npx vitest run(284 tests),npx tsc -p .andnpx biome check srcpass. New tests cover which simulation failures get the sentence before them, and naming an Output inside a part in Japanese.🤖 Generated with Claude Code