api/internal/gamification/game_launcher
library
Classes
-
GameLauncher
-
Owns one game surface slot: who may open, who waits, and who supersedes.
A live test replaces a visible game (the old one settles
superseded);
anything else while busy fails busy.
Enums
-
GameLaunchSlot
-
One game slot:
free takes any open, busy refuses everything but a
live-test replace, replace is a live-test taking over a visible game.
Port of Android GameLauncher (FREE/REPLACE/BUSY) and iOS GamePresenter
(static singleton loading/isBusy/open/replace/dismiss).
Constants
-
openWatchdogMs
→ const int
-
The wall-clock budget for an entry or rewards game to go from the tap to
the route commit. A direct game is covered by its coordinator instead, so
the watchdog never races it. Port of Android
GameLauncher.OPEN_WATCHDOG_MS
and iOS GamePresenter.armOpenWatchdog.