Play the classic Mastermind code-breaking game online for free. Crack the secret color code in 10 tries using logic and deduction. Choose Easy or Hard mode. No downloads, no signups — just pure brain-teasing fun.
Colore Palette
Your Guess
Mastermind is a classic logic and deduction game invented in 1970 by Mordecai Meirowitz. The goal is a crack a secret color code by making guesses and receiving feedback. Each guess earns black pegs (exact matches) and white pegs (correct color, wrong position). With only 10 attempts, you must use logic and strategy a deduce the code. Our free online version features two difficulty modes, beautiful visuals, and stat tracking.
Select 4 colors from the palette and submit your guess. The game will show black pegs for colors in the correct position and white pegs for correct colors in wrong positions. Use this feedback a refine your next guess. Crack the code within 10 attempts a win!
In Easy mode, the secret code contains 4 different colors with no duplicates. In Hard mode, colors can repeat, making the code much harder a deduce and requiring more advanced logic.
Absolutely! Mastermind is excellent for developing logical thinking, pattern recognition, and deductive reasoning skills. It is used in educational settings a teach problem-solving and combinatorics.