Repository navigation
Orbit Sprite Memory: option to hide the target image - #238
Merged
Merged
Conversation
A checkbox next to End Game, checked by default, hides the target rabbit during scored rounds to make play harder. Practice rounds always show the target, since the tutorial coaching points to it, and hide the checkbox. Fixes #205 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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
Adds a Show target image checkbox to the Orbit Sprite Memory play screen. Unchecking it hides the target rabbit preview, so the player has to work out which rabbit appeared three times. Fixes #205.
What changed
interface.html: the checkbox sits next to End Game and is checked by default. It follows Card Rat's setting toggles. The target row has a new ID,#osm-target-wrap.index.js: newupdateTargetVisibility(), which runs onchangeand at the start of every round (playRound).style.css:.osm-togglestyling, andalign-items: centeron the controls row so the label lines up with the button.CLAUDE.mdfor the game documents the setting.Testing
interface.html.npm run lintis clean andnpm run test:coveragepasses (2162 tests).Worth a close look
🤖 Generated with Claude Code