The arcade · logic

Mastermind

Deduce a hidden four-symbol code in eight guesses.

Loading Mastermind…

How to play Mastermind

Mastermind is a code-breaking puzzle using the symbols 1 to 6. The hidden code has four positions, and symbols may repeat. Each submitted guess gives counts for correct positions and correct symbols in different positions, without revealing which symbols earned them.

  1. Choose each of four symbols from 1–6; repeated symbols are allowed.
  2. Submit a complete guess. Exact counts correct symbol and position; misplaced counts correct symbols in other positions.
  3. Crack all four positions within eight guesses. Feedback never counts a symbol twice.

Tips for your next round

  • Use every feedback row together. A candidate code must fit all previous guesses, not just the newest result.
  • A misplaced symbol is present somewhere else in the code. Do not treat it as a symbol that should be removed entirely.

You have eight guesses. Undo is disabled because taking back a guess after reading its feedback would remove the guessing limit.

Play free in your browser without an account. Your moves save in this browser during regular rounds. Sign in if you want to sync progress across devices. Very long rounds may stay in the current tab.