Skip to content

chore(scanRift): four-player game in the screenshot demo - #25

Merged
KalimbaPro merged 3 commits into
mainfrom
dev
Nov 15, 2026
Merged

KalimbaPro merged 3 commits into
mainfrom
dev

Conversation

@KalimbaPro

Copy link
Copy Markdown
Owner

Summary

  • scripts/screenshot-demo.sh <serial> --four-players (extra fourPlayers on ScreenshotDemoActivity) 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 from scoreLog, so the two always agree.
  • The tracker zeroes scores on restore. A new Optional<RestoredScoresPolicy> seam in PointTrackerViewModel is 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.
  • DemoDataTest covers 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.
  • CLAUDE.md "Store screenshots" documents the flag, the debug-APK versionCode downgrade and the Fold's per-display rotation lock.

Screenshots (07-point-tracker-4p.png: phone, 7", 10" and foldable, all portrait, with 9:16 Play copies) are in ScanRift-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
  • Seeded and captured on Store_Phone, Store_Tablet7, Store_Tablet10 and Store_Fold

🤖 Generated with Claude Code

KalimbaPro and others added 3 commits November 15, 2026 01:46
`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>
@KalimbaPro
KalimbaPro merged commit e13de0a into main Nov 15, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant