FREE GAME
Mastermind
Crack the hidden color code using black and white peg feedback.
Guesses
0/10
Wins
0
Fewest Guesses
-
Why Use Our Mastermind?
Classic Code-Breaking Logic
Guess the hidden 4-color code and get black pegs for right color and spot, white pegs for right color, wrong spot.
Correct Duplicate-Color Handling
The peg-feedback logic correctly accounts for repeated colors in both your guess and the hidden code, just like the original game.
10 Guesses to Crack It
Use logic and deduction to narrow down the code before you run out of tries.
Wins, Losses, and Best Saved
Your win/loss record and fewest guesses to solve a code are saved on this device.
Visual Color Pegs
Build your guess by tapping colors - no typing or memorizing codes required.
100% Private
Everything runs in your browser. Nothing is ever sent to a server.
Frequently Asked Questions
How do I play Mastermind?
Build a 4-color guess using the color palette, then submit it. Black pegs mean a color is correct and in the right spot; white pegs mean a color is correct but in the wrong spot.
What if the code has repeated colors?
The feedback correctly accounts for repeated colors in both your guess and the hidden code, so the peg counts are always accurate.
How many guesses do I get?
10 guesses to crack the code before the game reveals the answer.
Is my record saved?
Yes. Your wins, losses, and fewest guesses to solve a code are saved in your browser's local storage.
Is this game free?
Yes. It's free to play with no sign-up.
More Tools
