Skip to content

Mastermind

1971

Crack a hidden four-peg color code from feedback pegs in ten guesses.

Ages 7–99Board game

MeaningfulnessLoweditorial ↘
You play
One player hides a code of four coloured pegs; the other places a guess and receives black pegs for a right colour in the right place and white pegs for a right colour in the wrong place, then uses that feedback to refine the next guess. Ten rows to crack it, then the players swap roles.
Why it may be useful
Each guess is a small experiment: you form a hypothesis, read the feedback pegs and revise, which is why researchers have used the game to teach hypothesis testing. The code space is tiny and fixed, though, so a sharp Mastermind player is not necessarily reasoning better anywhere else.
Used in teaching
1 documented case ↓ University of Michigan Medical School, Department of Cell and Developmental Biology
Keep in mind
Strictly two players, and one wrong feedback peg from the code-maker silently wrecks the whole puzzle.

Get the game

Not your thing? See similar games →

In depth

Written 2026-09-15 · editorial assessment, not a measured effect · how we rate →

What the game is

Mastermind is a two-player plastic board game invented in 1970 by Mordecai Meirowitz, an Israeli postmaster, and produced from 1971 by Invicta Plastics in Leicester, England. It is published today under the Pressman brand by Goliath Games. The box holds a decoding board, a bag of colored code pegs and a pile of small flat key pegs in two colors.

The board is a long strip of holes. At one end, behind a hinged shield, sits a single row of four holes where the secret code lives. Below run the guess rows, ten on the standard modern board, each with four large holes for a guess and a small cluster of holes beside it for the feedback. Six peg colors are in play, which makes 1,296 possible codes when repeats are allowed.

A round is short: place a guess, get feedback, think, place the next. A full sitting, with the two players swapping the code-maker and code-breaker roles, runs roughly fifteen to twenty minutes. Nothing is read, nothing needs writing down, and the entire state of the puzzle stays visible on the table between the two players.

What you actually do

The code-maker picks four colored pegs, arranges them in the hidden row and closes the shield. Agree first whether a color may repeat; the standard rules allow it. The code-breaker places four pegs in the first row, and the code-maker answers with key pegs: one black for each peg of the right color in the right place, one white for each peg of the right color in the wrong place. The key pegs never say which peg they refer to.

From there the code-breaker reasons. Opening with four pegs of one color reveals exactly how many of that color the code holds. Swapping two pegs and watching the black count change reveals position. Ten rows is generous: Donald Knuth showed in 1976 that a good strategy cracks any standard code in five guesses or fewer. Getting better means building each guess to rule things out rather than hoping to hit.

What it exercises

  • Treats a guess as a deliberate test and predicts what each possible answer would mean
  • Reads ambiguous feedback and eliminates options without being told which peg was right
  • Holds several ruled-out combinations in mind across a whole round
  • Notices that a right color in the wrong place is still usable information
  • Scores an opponent's guess exactly, which means checking your own work

Why we rate it Low Worksheet score 54 / 100

  1. FitHow much real knowledge or skill does the play itself make you use?55weight 45%

    Fit reaches 55. The hypothesis-and-revision loop is the game itself: every peg placed is a small experiment, and the feedback pegs leave the reasoning visible on the table for anyone to follow. It stops short of the top tier because that loop is one narrow skill rather than a domain with any real breadth.

  2. TransferWill what you practise here work outside the game?42weight 30%

    Transfer sits at 42. Designing an informative test is a portable habit, and researchers have used the game to teach exactly that kind of reasoning. But the code space is tiny, fixed and unlike anything outside the box, so a player can become sharp at this puzzle without that sharpness showing up anywhere else, and nothing in the sources measures whether it does.

  3. PracticeDoes the game make you use that skill again and again, as it gets harder?65weight 25%

    Practice reaches 65. A round takes minutes and exercises the same deduction every time, so players happily run five in a sitting. The ceiling does arrive, though: once a workable opening strategy is found the puzzle stops surprising, and the box offers no harder variant beyond adding colors by agreement.

Where it has been used in teaching

Documented cases of this game being used with learners. Each one links to its source.

  • StudyUniversity of Michigan Medical School, Department of Cell and Developmental Biology · University · 2011

    Two University of Michigan Medical School instructors propose using Mastermind to teach scientific-reasoning skills such as hypothesis testing, describing field-testing the approach by playing many games with their own graduate and undergraduate students and inviting other educators to try it.

    Using the Game of Mastermind to Teach, Practice, and Discuss Scientific Reasoning Skills ↗

What the evidence says

Research-backedPublished research has studied this game, or the exact mechanic it is built on.

The evidence level here is research-backed. The Harvard Center on the Developing Child lists Mastermind in its activity guide for five- to seven-year-olds among logic and reasoning games said to draw on working memory and cognitive flexibility, an expert recommendation rather than a study of this game. Two University of Michigan Medical School instructors describe using Mastermind to teach scientific-reasoning skills such as hypothesis testing, based on field-testing the approach across many games with their own graduate and undergraduate students. Neither source shows that playing improves reasoning elsewhere, and both concern learners well past childhood.

Editorial assessment - not a measured scientific effect.

Fit
55/100
Transfer
42/100
Practice
65/100

Why it makes the cut

A fifty-year-old classic with tens of millions of copies sold; the pleasure of cracking the code in six rows is the point.

Research-backed

The Harvard Center on the Developing Child names Mastermind among logic games said to draw on working memory and flexibility, and a published article describes using it to teach hypothesis testing and experimental design, which supports a research-backed rating for documented educational use.

Player reception source

BoardGameGeek ↗ · 8,672 BoardGameGeek ratings · Checked 2026-09-09

Platforms & access

Currently published by Pressman, a Goliath brand; Mastermind for Kids is a separate, simpler set.

Age guidance
Ages 7-99
Topics
Logic & strategy
Play styles
Multiplayer, Puzzle
Tags
2 players · 15–20 min · Deduction · Hypothesis testing · No reading

Every peg placed is a small experiment, and the feedback pegs leave the reasoning visible on the table, but the code space is tiny and fixed, so sharpness at this puzzle does not obviously carry into anything outside the box.