Solving Mastermind with Maximum Entropy

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • MyrinNew
    Senior Member
    • Feb 2024
    • 5168

    #1

    Solving Mastermind with Maximum Entropy

    An article on solving the Mastermind game using information theory.


    The idea is to choose guesses that give the most information and reduce the number of possible codes as fast as possible.


    With this method the code can be solved in about 4.42 guesses on average across all 1296 possible codes.


    What’s covered
    • How Mastermind feedback works
    • Why some guesses are more informative
    • How entropy helps choose the next guess
    • How the solver works


    An information-theoretic approach to solving Mastermind using entropy to maximize information gain.





    More...
Working...