Repository navigation
Otter Stop: replace No-Go Hits with an Errors count - #243
Merged
Merged
Conversation
The HUD and the end panel now show "Errors": presses for the fish plus missed otters, from the new getErrors(). The end panel's separate No-Go Hits and Misses rows become that single row. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Update the levels slide and the screenshot caption, and retake the screenshot so its stats row shows Errors. The layout is unchanged, so the callout boxes stay where they are. Fixes #206 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Owner
Author
|
Fixes #206 |
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
"No-Go Hits" was an odd label. Otter Stop now shows a single Errors count instead: each time the player pressed for the fish, plus each otter they missed.
What changed
game.js: newgetErrors()(no-go hits + misses). The separate counters stay, because the tutorial's practice feedback still tells the two mistakes apart.No-Go Hits→Errors(#os-errors).No-Go HitsandMissesrows are now oneErrorsrow (#os-final-errors).#os-game-area). The layout is unchanged and the regions measure inside the existing callout boxes, so the CSS did not change.CLAUDE.mdupdated.Testing
npm run lintandnpm run test:coverage: 2229 tests pass, with 100% function coverage.getErrors()tests, and the index tests updated for the new IDs.--user-data-dirto retake the screenshot and confirm the HUD.Review notes
stop()andstopGame()still returnnoGoHitsandmisses. The end panel sums them, and no new result field was added.Signed: Claude Code, on behalf of Aaron Crosman
🤖 Generated with Claude Code