- Python 3.9 or greater
- This project uses python binding to Enchant for spell checking. For the python bindings to work it must be able to find the Enchant C library. You must install this yourself. Instructions for your system can be found here.
- Poetry is used for dependency and virtual environment management. If you would prefer not to use Poetry, you can install dependencies listed in
pyproject.tomlmanually. No guaranty can be made that this will work.
Clone this repository and navigate inside it.
git clone https://github.com/ceegeechow/wordle.git cd wordleInstall dependencies with Poetry
poetry installRun inside virtual environment
poetry run python src/main.pyusage: main.py [-h] [-r] [-l LENGTH] [-mg MAXGUESSES] [-hm] optional arguments: -h, --help show this help message and exit -r, --rules display rules -l LENGTH, --length LENGTH number of letters in wordle -mg MAXGUESSES, --maxGuesses MAXGUESSES maximum number of guesses -hm, --hardMode any revealed hints must be used in subsequent guesses - better filtering of obscure words/more efficient word generation
- expand to web app
- unit tests