Solves wordle puzzles by eliminating the most possible words at every step.
To solve wordles:
-
Run wordlebot.py with the dictionary of choice as an argument.
- base_dictionary.txt: The dictionary for the standard wordle game.
- big_dictionary.txt: A very large dictionary containing 479k English words (from https://github.com/dwyl/english-words).
- This will take more steps to find a word.
- unlimited_dictionary.txt: The dictionary for the unlimited version of wordle at https://www.wordleunlimited.com/.
- This is best for testing out the bot as you can play over and over again without waiting.
-
Use the words that it tells you and then type a sequence of a, p, and c to tell the bot the games response (e.g. "pcpac").
- "a": absent - When the letter is grey.
- "p": present - When the letter is yellow.
- "c": correct - When the letter is green.
-
Repeat until solved.
If you want to test out the scoring function, see the number of letter occurences, etc.:
- Run wordlebot.py with the interactive flag "-i" and the desired dictionary as an argument (see above).
- Type "ccccc". This will tell the bot that it has found a solution and it will drop you into its python session.
- Run any python code you like using the available variables and functions.