🎯 Goal
Guess the secret code — a sequence of colored pegs — in as few tries as possible.
🕹️ How to play
- Select a color from the palette, then click a slot in the current row to place it.
- Fill all slots in the row, then press Submit Guess.
- Click a placed peg to remove it (before submitting).
🔍 Feedback
- Black peg = right color in the right position.
- White peg = right color but wrong position.
- The order of feedback pegs doesn't correspond to specific code positions — you must deduce which pegs are correct!
💡 Hints
- Use the Hint button (3 per game) to reveal one correct peg position.
- Colors can repeat in the secret code!