← Back to Puzzle Choices

Mastermind

Crack the hidden four-color code in 10 guesses or fewer.

Code Board

Duplicates are allowed.

Guesses: 0 of 10 Time: 0:00

Each row shows four selected colors, correct positions, and correct colors in wrong positions.
How to Play

Select a guess position, then click a color to place it there. The highlighted ring shows which position will receive the color and advances 1–2–3–4, then returns to 1. You may select any position directly. Fill all four positions, then submit your guess. Any color may appear more than once.

Every row shows four color pieces. The first feedback number is Correct position. The second is Correct color, wrong position.

Each hidden or guessed position is counted no more than once. Solve the code within 10 submitted guesses. If the code is not solved, it is revealed after the tenth guess.

Keyboard: Tab to a position or color button, press Enter or Space to choose it, or use keys 1–8 to choose colors.