/wordle

Simple command line wordle solver

Primary LanguageC++

Simple command line Wordle solver. Use only when terminally frustrated!

Usage;
  wordle green_pattern black_letters yellow_patterns...
    green_pattern   = 5 letter known pattern, lower case letters and ?s
    black_letters   = letters known to be excluded, '-' to omit
    yellow_patterns = 5 letter patterns, lower case letters and ?s
For example;
  You know o is the middle letter, you know e,l,i,a,n and r aren't
  included. You know s and t are included, but t can't be the second
  letter and s can't be the first, second or last letter. Run this
  command;
  wordle ??o?? elianr st??s ?s???
Prints 'boost', 'coost' and 'ghost'. The word list now matches the
actual Wordle word list (thanks Github contributor SeanJA). It doesn't
have quite as many strange words as the previous huge list, but it
clearly still has some!

Thanks to https://github.com/dwyl/english-words for the unaltered word list, and to SeanJA for improving this by tracking down the actual Wordle word list.

Thanks to Josh at powerlanguage.co.uk for creating Wordle.

I have included a Windows executable in the release directory. If it doesn't work on your system I blame Microsoft for overcomplicating things, it used to be easy to share simple executables!