A simple search-based puzzle solver for Wordle, built in Python.
Inspired by and tested using @adjusa's clone, Hyperwordle.
By default, this uses the Scrabble dictionary, which seems to cover most words in Wordle clones. You can optionally switch to a smaller dictionary, or to the much larger English dictionary provided by @dwyl (~16k 5-letter words), which is more comprehensive than the dictionary used by official Wordle and related puzzles. This means that while your chance of having the answer in the dictionary are high, you may be presented with many guesses that are not in Wordle's dictionary. In the event that you are suggested a word that is not accepted by Wordle, press [Enter] and a new word will be proposed.
To switch between dictionaries, change the dict_file
variable in run.py to one of:
large-dict.txt
~16,000 5-letter wordsscrabble-dict.txt
~8,900 5-letter wordssmall-dict.txt
~2,500 5-letter words
- Python 3.5+
- pandas (1.0 or later)