My implementation of https://www.powerlanguage.co.uk/wordle/
The only dependency is
rich, so therefore
pip install rich.
This is the “game engine”.
wordle.py --helpfor a few options
wordle.pyand follow the prompts.
wordle.py wordto force a word instead of a random one.
This will make suggestions to help solve a wordle puzzle.
solver.py --firstmake a suggestion for the first word and exit
solver.pyfollow the prompts
Inputting the server response is granted a bit crappy.
iletter is In the word
oletter is Out of the word
yYes, the letter is in the exact spot