Wordle Solver is a python based application to help solve Wordle puzzles. Using a pre-defined dictionary, it calculates a score for each word based on the prevalence of letters in that word, suggests the highest scored word (currently arose
), and prompts the user for results of playing that word. Then it refines the suggestion based on inputs.
Words in the dictionary.txt file taken from https://wordfind.com/length/5-letter-words/. Thank you, to who ever put that together.
- From the command line, run
python wordleSolver.py
. - When prompted, enter the suggested word.
- The application will then ask you for the new pattern of correct letters, followed by the list of letters which do not appear in the words (grey letters in Wordle). Currently, incoorectly placed letters are not supported.
- Repeat process until you have the solve, then kill the application with
ctrl+C
Booting up. Just a sec while I load all the things.
Ready to go. Start with arose
Enter the word, using hyphens for letters you don't know.: -r---
What letters are known to not appear in the word?: aose
Try print
Enter the word, using hyphens for letters you don't know.: -ri--
What letters are known to not appear in the word?: aosent
Try drily
Enter the word, using hyphens for letters you don't know.: -ri--
What letters are known to not appear in the word?: aosentdly
Try crimp
- Boot up time takes a while. Cache the dictionary and weighted word list to save time.
- Make the application stateful so you don't have to reenter all the excluded letters again every time.
- Handle yellow letters from Wordle; those that are present but in the wrong position.
Application is provided without warranty or guarantee of suitability. There's basically no error handling, so the garbage you put in will be the garbage it spits out. Author takes no responsibility for outcomes of its use, up to and including death, dismemberment, sad-panda feelings, self-loathing, scorn of friends and neighbors, or peril of the user's eternal soul.