This video walks through how to represent the state of a Wordle game, and then how to use that state to filter out the impossible final words. I’m pretty sure that the approach I take here isn’t as fast as it could be, but optimization will come later.

Code at

Full series playlist at

Find me at or on Twitter at @RaeHaskell
Video index at