A guess the word game
The agreed dictionary. All words are 6 letters long with all letters distinct
Rules: This is a game of two players and the task will be to implement Player 2.
Player 1 chooses a word from the agreed dictionary
Player 2 repeatedly guesses a word from the agreed dictionary.
At each turn, Player 1 tells Player 2 how many letters the guess has in common with the secret word. For example,
devout have three letters in common.
Player 2's goal is to guess the word in as few turns as possible.
The task is to implement player 2 to minimize the maximum number of guesses they ever have to make. Your score is the maximum number of guesses made when considered over all the words in the agreed dictionary. A lower score is better.
You should test your code by choosing each word from the agreed dictionary in turn and see how many guesses your implementation of Player 2 needs. You should then output the maximum.
Objective winning criteria
Answers will first be compared by the score they get using the rules above. Two answers with the same score will then be compared using code-golf rules. That is by the number of bytes in the code.