This is a wordle solver engine
It finds all words matching your criterias (see examples)
git clone https://github.com/imawsumm/wordle
make wordleThe wordle engine accepts 4 different flags:
Use this flag if letter is at the correct position. (the letter is green)
Specify the letter and it's position.
-s [LETTER] [POSITION]
Use this flag if the letter is not in the word at (x) position. (the letter is yellow) The flag can be used to tell the program the letter isn't at a specific position. Use it to specify you got a yellow letter at (x) position.
-x [LETTER] [POSITION]
Use this flag if the letter is in the word somewhere. (the letter is yellow)
-i [LETTER]
Use this flag if the letter is not in the word. (the letter is grey)
-a [LETTER]
the following command will search for all words with the following characteristics:
- first letter is A (-s A 1)
- second letter is D (-s D 2)
./wordle -s A 1 -s D 2This command searches for all words following these characteristics:
- first letter is A (-s A 1)
- the letter D is somewhere in the word (-i D)
- there isn't the letter D at the third position (-x D 3)
- the letter Z is not in this word (-a Z)
./wordle -s A 1 -i D -x D 3 -a ZThere is no limit to the amount of flags one can use.