News for hackers. Stuff that matters.
Re:How to solve the "Mastermind" guessing game? (2009) by smtross on Saturday January 13, 2024 @11:08AM (#38981206)
I created a solver using a SAT/SMT solver that guesses a solution that is consistent with all the previous guesses and their corresponding feedback. It always returns a solution in a small number of guesses. I don’t think it is the optimal solving algorithm but it was a fun exercise!

There are no comments on this comment yet.