0
Mastermind solver
Given the guesses and results, solve the mastermind if possible. Else print "No solution". How should I do it? I've been working on making 360 cases, and remove those don't match the given results. But that takes too much time.
3 Answers
0
What is a mastermind?
0
Rain https://www.google.com/url?sa=t&source=web&rct=j&url=https://en.m.wikipedia.org/wiki/Mastermind_(board_game)&ved=2ahUKEwjL9oe1xNTfAhXUIIgKHTisCIcQFjAfegQIBhAB&usg=AOvVaw3P8K_ls1rPKMKRFNb1pas9
0
Maybe try using arrays?