A project designed to find as many solutions as possible for a word wheel puzzle
A word wheel puzzle has 8 outer letters and 1 hub letter. A player must find as many words as possible. Each word must use the hub letter and at least 3 other letters, and letters can only be used once. You can't use plurals, foreign words or proper nouns. Verbs ending with 's' are permitted. Each puzzle contains a single 9-letter word.
Python 3
The project can be run locally using the terminal command:
$ python3 main.py
You will then be prompted to input the hub letter and outer letters through the CLI.
By default the solver uses the NLTK Brown Corpus for word matching. This can also be switched to use the Scrabble dictionary (all 4-9 letter words from this are stored locally in scrabble_dictionary.txt). This tends to get much more matches, although isn't pre-tagged so the solver can't exclude invalid words.
Tests are written using the unittest
library.
They can be run locally using:
$ python3 run_tests.py