But wait, the humans can't have all the fun! Yes, our computer friends want to play Wordle too. Our challenge to you now that you've written a Wordle clone is to write a Wordlesolver.
This is a freeform challenge, and we're excited to see what you produce!
Think about some of the ways you can reduce the set of dictionary words based on previous guesses.
It's ok if your Wordle solver takes in the target word as an input for verification, but it would be cheating to use it otherwise. 🥸
You could try something like the following as an overall signature:
solve : Set Text -> stubs.Target -> [stubs.Guess]
solvemight call two helper functions in a loop:
guesser : Set Text -> stubs.Guessrefine : Set Text -> stubs.Guess -> stubs.Target -> Set Text