Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Mode ¶
Mode selects the daily mode from the eligible pool using rendezvous hashing (highest random weight). Each entry is scored by hashing the date together with its (GameType, Mode) pair; the highest score wins.
This is resilient to changes in the pool: adding or removing an entry only affects dates where the changed entry would have been the winner.
func Name ¶
Name generates the daily puzzle name in the format: "Daily Feb 14 26 - amber-falcon"
Name uses its own sub-RNG derived from the date so that changes to the namegen word lists cannot affect mode selection or puzzle generation.
Types ¶
Click to show internal directories.
Click to hide internal directories.