B Set 54 Logic Puzzle

Mastermind: numbers #54

Title
Mastermind: numbers #54
CodeType
numbers
CodeLength
4
ColorCount
6
Colors
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
SecretCode
  • 4
  • 5
  • 5
  • 2
Guesses
  • {"guess":["1","2","3","4"],"blackPegs":0,"whitePegs":2}
  • {"guess":["2","3","4","5"],"blackPegs":0,"whitePegs":3}
  • {"guess":["4","1","6","3"],"blackPegs":1,"whitePegs":0}
  • {"guess":["5","1","6","3"],"blackPegs":0,"whitePegs":1}
  • {"guess":["6","5","1","5"],"blackPegs":1,"whitePegs":1}
  • {"guess":["4","6","1","5"],"blackPegs":1,"whitePegs":1}
  • {"guess":["6","6","1","4"],"blackPegs":0,"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.