5 ms·
I used "view source" on the pre-NYT version and got a blob of minified javascript that I was able to run through a prettifier and I guess it is decipherable, bu
by throwaway81523 5y ago
I used "view source" on the pre-NYT version and got a blob of minified javascript that I was able to run through a prettifier and I guess it is decipherable, but was there an earlier, un-minified version? Like every other hacker who has played it, I'm trying to write a personal clone.
- joek1301 5y agoThe 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...