in reply to
It looks like a mastermind game problem.
Look at: Games::Mastermind. I am also interested in variation of this game: "Bulls and Cows".
Postpone until later
Each and every
Results (226 votes),