3 ms·
So Neal solves Wordle every midnight to keep this game running?
by gpvos 3y ago
So Neal solves Wordle every midnight to keep this game running?
- chimeracoder 3y agoNot sure if this is currently the case, but Wordle used to have the entire list of words for each day served in client-side code (I believe it was a static list with modular arithmetic, or something along those lines). So doing "view source" would not only tell you the current day's word, but also allow you to view the answers for any future day. When the NYT bought the site, they shuffled the word list but (at least at first) kept this system. They may have obfuscated it by now though. Either way, since Wordle is a free game, it's not difficult to automate a script that will attempt to solve it and grab the correct answer.
- ripley12 3y agoNot sure exactly where the data comes from, but the game uses an API at https://neal.fun/api/password-game/wordle?date=2023-06-15 https://neal.fun/api/password-game/wordle?date=2023-06-15 Seems like it has answers up to July 30, so he's either a time traveller or it's possible to get future answers by looking at the Wordle source.
- gpvos 3y agoI thought the NY Times had reworked it so you couldn't see the answer in advance anymore, but maybe not. The current code is too obfuscated for me to figure it out easily.