This is a wordle solver that can solve "wordle" on either the following websites:
This Python program can automatically type the answer and see the answer on its own. I also made it to automatically go to the next wordle game when you are using the unlimited wordle.
This is how it looks like (Youtube video):
- I made this by using nltk to store all the words
- I used pyautogui to automatically use the keyboard and mouse to type the answers.
- For nltk, I used the word and wordnet corpuses
- If the word nltk thinks is a word but wordle does not, it goes on to the next possible word.
- I also used pyautogui for screenshooting the screen and see the colors of each box. I took the corners of each box and measuared its color to see what it was.
- To see what words were possible after that, I removed the words that did not match the letters that were green. I also removed the words that contained letters that were supposed to be grey.
- For the yellow ones, I made it so it detected if a letter is on a different box and those that did not were removed. Then, the program chooses the first possible word.
To use this, you first need to install an ad blocker. Then, you need to split the code and the wordle window in half like this: