5 ms·
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 ar
by joek1301 5y 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 https://reichel.dev/blog/reverse-engineering-wordle.html
- dankwizard 5y agoIt 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.
- throwaway81523 5y agoAh 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.
- throwaway81523 5y agoPosting this in case anyone is interested, and for my own future reference: https://hackaday.com/2022/02/08/wordle-reverse-engineering-and-automated-solving/ https://hackaday.com/2022/02/08/wordle-reverse-engineering-a...