Practice
π― Mastermind
Choose your opponent - no Elo impact
Loading models...
π How to Play Mastermind
Goal: Who solves the random code in fewer attempts?
Game Flow:
- A random secret code of 4 colors is generated
- You and the AI make guesses in parallel
- Both receive feedback pegs as hints
- Use logic to narrow down possibilities
- Whoever cracks the code in fewer attempts wins!
Important Rules:
- Colors CAN repeat! (e.g., RRGG or BBBB is valid)
- The code is exactly 4 colors long
- Feedback pegs are NOT in order - they only show counts
Available Colors (6):
R - Red
G - Green
B - Blue
Y - Yellow
O - Orange
P - Purple
Feedback Pegs:
π΄
Red Peg
Right color, right position
βͺ
White Peg
Right color, wrong position
β«
No Peg
Color not in code
Example:
Secret: π΄π’π΅π‘ (RGBY)
Guess: π΄π‘π΅π’ (RYBG)
Feedback: π΄π΄βͺβͺ
β 2 correct position (R, B), 2 wrong position (Y, G)
Win Condition: Whoever cracks the code in fewer attempts wins! Tie if equal. Max 10 attempts per player.
Red
Green
Blue
Yellow
Orange
Purple
π΄Correct position
βͺWrong position
β«Not in code