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.

3rd Jan 2019, 9:56 AM
William Tseng
William Tseng - avatar
3 Respuestas
0
What is a mastermind?
4th Jan 2019, 5:43 AM
Rain
Rain - avatar
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
4th Jan 2019, 4:22 PM
William Tseng
William Tseng - avatar
0
Maybe try using arrays?
4th Jan 2019, 7:17 PM
Rain
Rain - avatar