B Set 26 Logic Puzzle

Mastermind: 6-colors #26

Title
Mastermind: 6-colors #26
CodeType
colors
CodeLength
4
ColorCount
6
Colors
  • Red
  • Blue
  • Green
  • Yellow
  • Purple
  • Orange
SecretCode
  • Red
  • Yellow
  • Red
  • Red
Guesses
  • {"guess":["Red","Blue","Green","Yellow"],"blackPegs":1,"whitePegs":1}
  • {"guess":["Blue","Green","Yellow","Purple"],"blackPegs":0,"whitePegs":1}
  • {"guess":["Red","Yellow","Green","Purple"],"blackPegs":2,"whitePegs":0}
  • {"guess":["Red","Orange","Purple","Blue"],"blackPegs":1,"whitePegs":0}
  • {"guess":["Red","Yellow","Purple","Yellow"],"blackPegs":2,"whitePegs":0}
  • {"guess":["Red","Yellow","Yellow","Blue"],"blackPegs":2,"whitePegs":0}
  • {"guess":["Blue","Yellow","Blue","Blue"],"blackPegs":1,"whitePegs":0}
  • {"guess":["Blue","Orange","Blue","Blue"],"blackPegs":0,"whitePegs":0}
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.