B Set 56 Logic Puzzle

Mastermind: 6-colors #56

Title
Mastermind: 6-colors #56
CodeType
colors
CodeLength
4
ColorCount
6
Colors
  • Red
  • Blue
  • Green
  • Yellow
  • Purple
  • Orange
SecretCode
  • Red
  • Green
  • Yellow
  • Purple
Guesses
  • {"guess":["Red","Blue","Green","Yellow"],"blackPegs":1,"whitePegs":2}
  • {"guess":["Blue","Green","Yellow","Purple"],"blackPegs":3,"whitePegs":0}
  • {"guess":["Red","Green","Green","Yellow"],"blackPegs":2,"whitePegs":1}
  • {"guess":["Blue","Purple","Purple","Red"],"blackPegs":0,"whitePegs":2}
  • {"guess":["Green","Green","Blue","Purple"],"blackPegs":2,"whitePegs":0}
  • {"guess":["Blue","Yellow","Blue","Purple"],"blackPegs":1,"whitePegs":1}
  • {"guess":["Red","Purple","Purple","Yellow"],"blackPegs":1,"whitePegs":2}
  • {"guess":["Red","Purple","Purple","Yellow"],"blackPegs":1,"whitePegs":2}
Question
Using the 8 guesses and their feedback shown below, deduce the secret 4-peg code. The available colors are: Red, Blue, Green, Yellow, Purple, Orange.
Rules
  • The secret code has exactly 4 positions.
  • Available colors: Red, Blue, Green, Yellow, Purple, Orange. 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.