C++ program to quickly find matching words for the game Wordle. This works for the Czech version of the game (czech uses characters from UTF-8), could be used also for the english version, after replacing the dictionary with an english one with exact format.
Play the game here
Inside wordle_solver_CZ/ do:
mkdir build
cd build
cmake ..
make
After building just run this command inside the build folder:
./wordle_solver
This program will help you if you have any type of information already (green or orange characters, known letters that are not in the word).
At first write a 5-letter word only with known letters at fixed positions (green letters) and unknown letters write like '?'.
Then behind it write all known (orange letters) seperated by empty spaces.
Then write '!' and behind it all letters that you know are not there.
The command has to contain the first part with the '?', second or third part can be left out. If you want to left out just the second one, you still have to write '!' behind the first part divided by empty spaces.
Lets say that you are at this stage of game:
You will write and press enter:
??l?? e ! s m ů a o d í v ý t
Another example:
????? l a
Will find all words containing letter l and a.
Last example:
????? ! l a
Will find all words that do not contain letter l and a.