How Daily Challenges Work
How Does Daily Seeding Work?
Every morning at midnight UTC, a new daily puzzle becomes active across all five Atelier games. Rather than downloading pre-made boards from a remote server, each player's browser deterministically computes the exact same board locally using a synchronized mathematical seed.
lib/daily.ts:- Date String Extraction: The client reads the current Universal Coordinated Time (UTC) date and formats it as an ISO key:
YYYY-MM-DD(viagetDailyDateKey()). - Game-Specific Integer Offset: To prevent Solitaire and Sudoku from using identical layouts on the same calendar date, a distinct prime offset is applied per game ID.
- Linear Congruential Generator (LCG): The seed is fed into a deterministic pseudorandom number generator (PRNG) with multiplier
1664525and increment1013904223modulo2^32. - Board Construction & Verification: The solver builds the board using this seed and confirms uniqueness before rendering.
Why We Use UTC Time
Many casual gaming sites use local browser device time for daily puzzles. However, this causes serious synchronization flaws: players traveling between time zones can accidentally skip days, reset their streaks, or replay previous days by artificially shifting their system clocks.
Atelier Games anchors daily challenges strictly to 00:00 UTC. Whether you are solving in Tokyo, London, or San Francisco, every player on Earth receives the exact same puzzle simultaneously.
System Limitations & Boundaries
What Happens to Your Data?
Nothing leaves your computer. Your daily completion timestamps, solve durations, and hint counts are written directly to localStorage under the key atelier_stats. Atelier Games runs zero telemetry servers, collects no personal identifiers, and requires no account login.