This is a simple wordle script I created for fun.
npm i
node index
-
Start with your first guess on Wordle.
-
Enter first guess in terminal with its results
- r = Letter is in the word and correct spot
- y or b = Letter is in the word but wrong spot
- g = letter is not in the word in any spot
-
Program will display possible answers
-
Enter another word on Wordle. (Enter word from the program's list)
-
Repeat 2-4 until you win!
Word List Data Sources - https://github.com/3b1b/videos/tree/master/_2022/wordle_data and https://www.powerlanguage.co.uk/wordle/.