Posts

Wordle Solver

Image
Overview I created a jupyter notebook program in python that solves Wordle puzzles. For anyone unfamiliar with Wordle, it is a popular puzzle game that gives you 6 chances to guess a 5-letter word. After each guess you make, the game offers feedback in the form of green squares for each of your letters that is in the correct position and yellow squares for each of your letters that belongs to the word but is not in the correct position. You enter each of your guesses and results into my program as you play each turn of the game, and my program will tell you 1) the list of possible words that could be the answer, and 2) what it recommends for your next guess. To explain my program properly, I'll start with a glossary of terms I use. Glossary word : a 5-character string of letters from the alphabet. Words are customarily represented in all upper case. guess : a word that may be entered in a Wordle game. book : a set of possible guesses. Wordle does not let you enter just any 5-lett