B Set 57 Logic Puzzle

Mastermind: numbers #57

Title
Mastermind: numbers #57
CodeType
numbers
CodeLength
4
ColorCount
6
Colors
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
SecretCode
  • 6
  • 5
  • 2
  • 6
Guesses
  • {"guess":["1","2","3","4"],"blackPegs":0,"whitePegs":1}
  • {"guess":["2","3","4","5"],"blackPegs":0,"whitePegs":2}
  • {"guess":["3","6","5","1"],"blackPegs":0,"whitePegs":2}
  • {"guess":["4","3","2","6"],"blackPegs":2,"whitePegs":0}
  • {"guess":["1","3","2","6"],"blackPegs":2,"whitePegs":0}
  • {"guess":["5","3","2","5"],"blackPegs":1,"whitePegs":1}
  • {"guess":["5","2","2","5"],"blackPegs":1,"whitePegs":1}
Question
Using the 7 guesses and their feedback shown below, deduce the secret 4-peg code. The available digits are: 1, 2, 3, 4, 5, 6.
Rules
  • The secret code has exactly 4 positions.
  • Available digits: 1, 2, 3, 4, 5, 6. Repetition is allowed.
  • Black peg (●): correct color/digit in the correct position.
  • White peg (○): correct color/digit but in the wrong position.
  • The number of pegs does not indicate WHICH positions are correct.
Hint
Use process of elimination: identify which colors are in the code, then find their positions.