Hacker News new | ask | show | jobs
Solving Mastermind with Maximum Entropy (sbondaryev.dev)
1 points by sbondaryev 124 days ago
1 comments

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.