Play Mastermind
Can you crack the code?
Mastermind is a game of deduction. A hidden code uses four colored pegs. After each guess, clues tell you how many colors are in the right place and how many are in the code but in a different place.
How to play
- Build a four-color guess from the palette. Repeated colors are allowed.
- Press Check code to submit your guess.
- A dark clue means the color and position are both correct; a light clue means the color is correct but in another position.
- Crack the code in ten guesses. You can also use keyboard keys 1–6, Backspace, and Enter.
Your current code and best solve are saved in this browser.