AbraCalc

Mastermind — Color Code Guessing Game

Guess the secret 4-color code in 10 tries. Black pegs = right color & place; white = right color wrong place.

Guess the secret code! (10 tries)
Embed this tool on your site

How to play

  1. Click color swatches to build a 4-color guess, then hit 'Submit Guess'.
  2. Black peg (B) = right color in the right position.
  3. White peg (W) = right color but wrong position.
  4. Use the feedback from each guess to narrow down the secret code in 10 tries.
  5. Click 'Clear' to remove the last color, or 'New Game' to start over.

Crack the 4-color secret code in 10 tries. Black pegs (B) = correct color in correct position. White pegs (W) = correct color in wrong position.

Frequently asked questions

What do B and W mean?
B (black peg) = correct color AND correct position. W (white peg) = correct color but wrong position.
Can colors repeat in the secret code?
Yes — the same color can appear more than once in the secret code.