I created a wordle solver.
When starting with the word SALET it solves for all possible words in 7920 guesses, or 3.421166307 on average (Distribution 1: 0, 2: 78, 3: 1225, 4: 971, 5: 41, 6: 0).
GitHub – jonparis/wordlesolver
My solver reaches the theoretically best solution. It was close to perfect in Jan/Feb when I started but slow. I made it a bit faster, made the code readable, and realized I could store additional info (e.g. when there are or is not multiple instances of the same letter).
Note: The suggestions assume each word is chosen at random. If previous or recent solutions are excluded then you use that insight from playing regularly in conjunction with this tool to solve Wordle in even fewer words on average without learning anything from the current day’s solution. That said you need to bring your own memory.
I put a simple UI to make it easy to use. Enjoy at:
The motivation behind this project…
“I may not be great with words but look what I can do!” 🙂