Orbit Arcade Stage C: review fixes and verification

- Back on an Arcade page returns to Play Games; on Play Games it goes back to Orbit.
- A game opening while How to Play is still closing isn't paused at once; only
  going out of sight pauses.
- Lint: remember no longer returns Unit; the repo singleton's application
  context is marked as intended.
- docs/arcade-stage-c.md and docs/VERIFICATION-arcade-stage-c.md.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-08 19:20:16 +00:00
co-authored by Claude Opus 5.5
parent 11a9a57687
commit 07dd4b62a2
6 changed files with 247 additions and 3 deletions
@@ -45,4 +45,11 @@ class ArcadeInputTest {
assertTrue(loopRuns(paused = false, alive = true, shown = true))
assertFalse(loopRuns(true, true, true)); assertFalse(loopRuns(false, false, true)); assertFalse(loopRuns(false, true, false))
}
@Test fun onlyGoingOutOfSightPausesNotStartingBehindADialog() {
assertFalse(shouldPauseOnHide(wasShown = false, shown = false, alive = true))
assertTrue(shouldPauseOnHide(wasShown = true, shown = false, alive = true))
assertFalse(shouldPauseOnHide(wasShown = true, shown = false, alive = false))
assertFalse(shouldPauseOnHide(wasShown = true, shown = true, alive = true))
}
}