The basics
How does Mastermind work?
Every game hides a code of 4 or 5 color slots. You submit a guess from the color pool, and the game replies with clues — it never points at a specific slot.
The goal is simple: guess every slot correctly before you run out of turns. The real skill is using each round of feedback to rule out wrong colors, confirm the right ones, and then fix their order.