Wordle

My implementation of https://www.powerlanguage.co.uk/wordle/

Installation

The only dependency is rich, so therefore pip install rich.

wordle.py

This is the “game engine”.

  • wordle.py --help for a few options
  • wordle.py and follow the prompts.
  • wordle.py word to force a word instead of a random one.

solver.py

This will make suggestions to help solve a wordle puzzle.

  • solver.py --first make a suggestion for the first word and exit
  • solver.py follow the prompts

Inputting the server response is granted a bit crappy.

  • i letter is In the word
  • o letter is Out of the word
  • y Yes, the letter is in the exact spot

GitHub

View Github