Hacker News new | ask | show | jobs
by joek1301 1589 days ago
The original WORDLE also used minified JavaScript, but there are some resources on reverse engineering it, if all you're interested is learning how the words are picked [1].

[1]: https://reichel.dev/blog/reverse-engineering-wordle.html

1 comments

It isn't that complex - If you compare the word list in source to the word each day, you'll see that it is just using the list in order.
Posting this in case anyone is interested, and for my own future reference:

https://hackaday.com/2022/02/08/wordle-reverse-engineering-a...

Ah ok thanks both of you, that suffices. I wondered why the word list was in such a weird order. Any idea if the permutation from alphabetical order is something simple? That would allow membership testing by binary search instead of needing an extra data structure.