top | item 47004442

Solving Mastermind with Maximum Entropy

1 points| sbondaryev | 16 days ago |sbondaryev.dev

1 comment

order

sbondaryev|16 days ago

Inspired by 3Blue1Brown's Wordle video I applied maximum entropy to Mastermind.

The solver averages 4.42 guesses across all 1296 possible codes.

Includes an interactive game where you can see the optimal next move.