This codebase is for a program used to help (some say cheat) play the popular word game 'wordle.' The program is a CLI that takes the user's chosen word, and the following respective letter values. These are the yellow, green, and black values that Wordle returns when a guess is made. The code then eliminates words that do not match the requirements based on the output from Wordle. Additionally, the code also provides the best guess based on the frequency of letters remaining in the pool of words.
All-time record as of 8/7/2023.
83W - 0L
chmod +x wordleinstaller.sh
./wordleinstaller.sh
wordle
into the terminal anywhere and play. OR run ./wordle
immediately.wordle
Fig 1. Wordles output for 6/8/2023 using the word "cover"
Translate the colors of the wordle output to their respective characters
For this example the input for the 1st round should be
enter word: cover
values gyb: gbbby
Continue these steps until the wordle is solved.
*contains spoilers for wordle 6/8/2023
https://github.com/charlesreid1/five-letter-words/blob/master/sgb-words.txt - list of 5 letter words used to filter words