Gamecock Fanatics

This is a sample guest message. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

WORDLE

From what I read, there's a wordlist in the code and a function to cylce through those words each day. So theoretically, yes you could play it offline at least until it reaches the end of the word list. I haven't looked to see if it recycles or just ends the game.
I got curious and looked at reverse engineering the algorithm. Basically, the word list is hard coded in an array. It's a very large array, something like 2300 words. It gets the word by doing a date difference of the current date to the release date of the software and uses that number as the index of the array. It does have code that will go back to the start when it gets to the end of the array. If you decide to look at the code, be prepared that it's not very readable. Most variables and functions are very non-descriptive. You see a lot like function y(e, a) { ... } and a lot of nested functions. The best way to go about it is to find the word list, then functions that have the wordlist as an argument.
 
Top