A console program to optimally guess the word in NYT's Wordle.
In Wordle, you have six tries to guess a five letter word. After every guess you're told what letters are in the right spot (green), what letters are in the word but in the wrong spot (yellow), and what letters aren't in the word (gray). If playing optimally, as this solver does, every word can be guessed in at most five tries, so the game is always winnable. Most words are guessed in three to four tries.
- Download the latest release from releases/latest, or download the source code & compile using MSVC.
- Ensure you have the following files (which are with the source code or in releases):
- An allowed words list (all words that can be guessed) at
./lists/allowed.txt - An answer words list (all words that are possible answers) at
./lists/answers.txt
- Run the executable, and follow along with the instructions given.
The word lists (lists/allowed.txt, lists/answers.txt) were made from Wordle word set found at https://www.nytimes.com/games/wordle/.
