🎨

Mastermind Game

Play Mastermind free: crack the secret color code in as few guesses as possible. Black pegs mean a correct color in the right spot, white pegs mean a correct color in the wrong spot.

Medium 5 min Logic & Reasoning
Advertisement

Mastermind

Fill the four slots with colors, then submit your guess.
black dot = correct color, correct position.
white dot = correct color, wrong position.
Start with four different colors to gather maximum information.

Guess /8

Pick a color for slot

Secret code

🏆

All-Time Top Scores

Mastermind Game best players

No scores yet — be the first!

🔥

Today's Challenge

Daily top scores — resets at midnight

Aug 09

No one has completed today's challenge yet — play the daily mode and grab the 🥇!

Advertisement

About Mastermind Game

Play Mastermind free: crack the secret color code in as few guesses as possible. Black pegs mean a correct color in the right spot, white pegs mean a correct color in the wrong spot.

This free tool is designed to be quick, fun, and effective. It runs entirely in your browser, so your data never leaves your device and no account is required. Play once or come back daily to track your progress and improve your score.

Mastermind Game - Frequently Asked Questions

A black peg shows a guessed color is exactly right in position. A white peg shows the color is in the code but in a different position. Unmarked guesses are not in the code at all.
Start with a guess of four different colors to gather information, then use the feedback to eliminate colors and pin down positions one by one.
Score = (9 − guess number) × 10, so cracking the code on your first guess scores 80 and solving on the last of 8 guesses scores 10.
Advertisement