core/seeded_challenge_service library
Classes
- SeededChallengeReplayResult
-
Outcome of SeededChallengeService.replay —
nulldivergence means the replay reproduced every checked outcome exactly. - SeededChallengeService
- FEAT-97: ties together this kit's existing deterministic-replay primitives — SeededRandomService (RNG snapshot/resume), ReplayRecorder/ReplayCapsule (recorded event replay + divergence detection), and LocalScoreboardService (on-device ranking) — into one "same challenge, reproducible run, fully offline" building block, so a consuming game doesn't have to wire all 3 together itself and risk a seed/clock/replay mismatch doing it.
Enums
- ChallengePeriod
-
How often SeededChallengeService.currentSeed's
periodKeyrolls over —dailyties to todayEpochDayClamped,weeklyto that same day number floor-divided by 7 (same ISO-ish "group of 7 epoch days" conventionDailyQuestService/SeasonEventService's own period keys already use elsewhere in this package).