Repository navigation
feat: Compress Viva Las Vegas theme to a 0–70 scale - #78
Merged
Remi Dyon (raemone) merged 1 commit intoOct 25, 2026
Merged
Conversation
Elvis now arrives at 70 responses instead of 130 so the full rags-to-riches arc is reachable in a typical session. - Stages move to 0/10/20/30/40/55/70 (images renamed to match). - Themes can now supply their own milestone ladder (THEME_CONTENT `milestones`, read via getMilestones()). Vegas uses 10/20/30/40/55/70/100/150/200/300/500 so every cat change gets its own jackpot celebration and message, and Elvis at 70 is a full milestone. - Classic, Feed the Cat and German keep the shared 10/25/50/75/... ladder. - Vegas milestone messages rewritten for the new counts. Tests: Vegas spec covers the new boundaries, that every Vegas stage is a milestone, that 25/50/75 no longer are for Vegas, and that other themes keep the shared ladder. 27/27 Playwright tests pass. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
Author
|
Remi Dyon (@raemone) this one is stacked on #77. Could you please approve it after #77 is merged? Once it merges, please verify that it pushes to prod. |
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
Elvis now arrives at 70 responses instead of 130, so a typical bootcamp session can reach the full rags-to-riches arc.
Per-theme milestones
Milestone celebrations used one shared ladder for every theme (10/25/50/75/100/…). Shrinking only the stage numbers would make the cat change between celebrations, so the stage-themed messages wouldn't line up. Instead:
THEME_CONTENTentries can now carry amilestonesarray, read through a newgetMilestones().getNextMilestone,getPrevMilestone,checkMilestoneandgetCatStateParamall use it.milestones, so they keep the shared ladder unchanged.The stage images are renamed to their new counts (
cat-stage-vegas-20.pngand so on). The image content is unchanged.Testing
tests/vegas-cat-theme.spec.mjscovers:🤖 Generated with Claude Code