I also wrote a tool for playing: https://github.com/vple/wordle-solver/blob/main/solver.js There's probably more tuning I can do for the algo, but roughly: - I took all the words from the site's js as the dictionary. - From remaining eligible words, compute the letter distribution (ignoring letters you already know are in the solution). - Pick a word that uses as many of the most frequent letters as possible. - Use o…
This is pretty much what I did, but I mixed in a regexp to hold the location restrictions, and a penalty for using the same letter multiple times. (eg guessing “added” is worse than “aspen” for “a..e.”) I do wonder if looking at how a letter splits the space of letters and words would be interesting
I think if I work on this some more I'd try to factor in letter positioning when deciding what to guess. My hunch is that it won't make too much of a difference though.