How to play:
- A secret pattern of 4 colored pegs is generated (colors can repeat)
- Click a peg slot to select it, then click a color from the palette
- Fill all 4 slots and click "Check Pattern" to submit your guess
- Use the feedback pegs to deduce the secret code
Understanding feedback:
- Black peg: One of your colors is correct AND in the correct position
- White peg: One of your colors is in the code but in a different position
- Empty: That color is not in the code (or already counted)
Important: Feedback pegs don't correspond to specific positions — they only tell you the count. You must figure out which colors are correct.
Strategy tips:
- Start by testing different colors to see which ones are in the code
- Once you know which colors, work on finding their positions
- Pay attention to how feedback changes between guesses