feat: add slot machine challenge with progressive difficulty#28
Merged
Conversation
Introduce slot machine dismiss mechanism as a new enforcement tier.
Three reels on first two attempts, single reel on the last attempt.
Speed decreases each attempt (1.2x → 0.9x → 0.7x) so timing gets
easier with practice. If all three attempts fail, falls back to a
phrase-typing escape ("I prefer sitting anyway").
Added to gentle tier 4 and firm tier 2. Uniform reel speed and
reduced overshoot (0.5× symbol stride) make the stop timing feel
responsive rather than random.
- C1: replace hardcoded escalation cap 4 with dynamic tiers.count-1 in BreakCoordinator, making Gentle tier 5 reachable - H1: add per-reel 15s auto-stop timer in startSpin to prevent permanent livelock - M1: add missing skipDelay==30 assertion for Firm tier[2] in tests - L1: remove roundNumber state and all dead roundHeaders/roundSubtitles branches - L2: guard ForEach range against inversion with max(first, ...) - L4: add lower-bound clamp test for Firm policy - update CoordinationTests cap assertion from 4->5 to reflect 6-tier Gentle policy
…chine first for QA
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
Test plan