Theo's Typesafe CultTTC
Theo's Typesafe Cult3y ago
37 replies
Voffie

Wordle - Word selection

Hi! I'm currently developing a wordle clone where you are able to guess between programming languages. I am almost finished with it but there is one thing that I can't really wrap my head around. I need to find a way to select a specific solution for each day based on a certain timestamp each day. I also want it to be the same for all users.

Any help is greatly appreciated 🙂
Solution
hash the date and convert the first couple of bits to decimal. That will be the number of this day's word in the wordlist
Was this page helpful?