B Set 30 Logic Puzzle

Mastermind: numbers #30

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