Repository navigation
chore(scanRift): four-player game in the screenshot demo - #25
Merged
Merged
Conversation
`scripts/screenshot-demo.sh <serial> --four-players` seeds the point tracker with Lena, Hugo, Sam and Jules mid-game: Secret Garden Lillia, overnumbered Irelia, Ahri Signature and overnumbered Riven; 6/4/5/3 points with mixed categories, a score log that matches the counts, and XP. The tracker zeroes scores on restore, so a debug-only `DemoScores` binds the new `Optional<RestoredScoresPolicy>` seam in PointTrackerViewModel to keep them for that process. Release builds bind nothing and behave as before; the two-player demo is unchanged. DemoDataTest pins the new roster. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The swirl filled ~95% of the 108dp foreground, so circle and squircle masks cut it at the edges. It now sits at ~58%, inside the 66dp safe zone with a margin. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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
scripts/screenshot-demo.sh <serial> --four-players(extrafourPlayersonScreenshotDemoActivity) seeds a four-player game in progress: Lena (Secret Garden Lillia, Lillia Dreams, 6 pts, XP 7), Hugo (Irelia Overnumbered, Irelia Blade Dance, 4 pts, XP 4), Sam (Ahri Signature, 5 pts, XP 5) and Jules (Riven Overnumbered, 3 pts, XP 2). Each seat has mixed categories, and the counts are derived fromscoreLog, so the two always agree.Optional<RestoredScoresPolicy>seam inPointTrackerViewModelis bound only in the debug source set (DemoScores, in memory, set only by the four-player seed), so release builds behave exactly as before. The default two-player demo is unchanged.DemoDataTestcovers the new roster: four distinct legends from the catalogue, Secret Garden Lillia included; deck names resolve; distinct scores below victory; mixed categories; XP in range.Screenshots (
07-point-tracker-4p.png: phone, 7", 10" and foldable, all portrait, with 9:16 Play copies) are inScanRift-store-assets, which is outside this repo.Test plan
./gradlew testDebugUnitTest assembleDebug lintDebug: lint reports 0 errors:app:hiltJavaCompileRelease: the empty Optional binding resolves in release🤖 Generated with Claude Code