So im creating a wordguesser ai for school. It has a list of words as database and it has to guess the word that the user has in mind. Now im stuck at the part where the ai has to check which words are in the list which contain the letters and at the right location. Does anyone know a way to find the words which contain the letters guessed at the right location?