This wordle Solver might be one of the best available wordle solvers. Using the NY Times word list, this solver can solve wordle puzzles within three guesses 80% of the time. In addition, this solver supports any 5-letter word wordle like puzzle.
Solving wordle word list knowing the wordle word list:
- Average Tries: 3.0099
- Within Three Tries: 79.395%
- Fails Excluded Average: 3.00
Solving wordle word list knowing nothing:
- Average Tries: 3.696
- Fails Excluded Average: 3.663
Solving all five letter words knowing nothing:
- Average Tries: 4.17
- Fails Excluded Average: 4.076
Run main.py, and type the starting word "spald" (the best wordle word when playing perfectly) into your wordle game.
Type the response by wordle into the command line by using "_" for absent or grey letters, "/" for misplaced or yellow letters, and the actual letter for correct letters. For example, a game may look like the following:
Computer: Type "spald"
wordle's response: ⬛⬛⬛⬛⬛
your response: _____
Computer: Type "tenor"
wordle's response: ⬛🟨🟩🟨⬛
your response: /n/
Computer: Type "money"
wordle's response: 🟩🟩🟩🟩🟩
your response: money
Computer: The word is "money"!
When using just wordle words, this script will filter words based on all the hints you provide. If multiple words are left, the script will select the word leading to the most eliminations to narrow down possibilities as fast as possible.
When using all five letter words, the program will still filter words based on hints provided but will select the next word from the remaining words based on word usage frequency. This optimizes the algorithm no matter what specific wordle game you are playing.