wordle_mp4_2.mp4
This program was mainly inspired by the video posted by 3Blue1Brown, in which he explains how wordle can be solved using information theory. This program incorporates the math from the video and sends requests to the Wordle website to solve the daily puzzle. Follow the bot on Twitter to keep up to date on its results.
- Be sure to install your Chrome's current version of chromedriver to your
C:\Program Files (x86)folder. This is used to launch the browser and communicate with the Wordle website. - You can find your Chrome version by typing
chrome://settings/helpinto your search bar.
git clone https://github.com/cezar-r/wordle_botcd wordle_bot/srcpip install -r requirements.txt
python main.py
python simulate.py <n_simulations> <first_guess1> <first_guess2> ... <first_guessn>- Ex:
python simulate.py 100 slate crate crane
- Below is a screenshot of the Wordle bot after playing 2000 games using
slatedealtcraneandsoareas its first guesses. The bot itself has no knowledge of possible answers, its corpus is the 12,000 word file of allowed guesses. It also has no knowledge of word commonality at the moment. Lastly, the bot plays Wordle on hard mode.
