Scoring
Running tally
Players
2 to 6
Wins
High score wins
Mastermind score keeper
Mastermind
The Codebreaker tries to determine the Codemaker's secret sequence of four colored pegs.
Players
2 to 6 players
Ages
Play time
Difficulty
Be one of the first to keep score for Mastermind here
Free, with the math built in
How to play
The Codebreaker tries to determine the Codemaker's secret sequence of four colored pegs. In a series, players switch roles and the player with the most points wins.
Setup
- Separate or arrange the pegs, choose the first Codemaker, and position the board or unit so the Codebreaker cannot see the secret-code area.
- The Codemaker secretly sets a four-peg code.
- Before a series, agree on an even number of games.
On your turn
- 1
The Codemaker secretly sets a code of four colored pegs, and the Codebreaker enters a guess in the next available row.
- 2
After each guess, the Codemaker reports how many pegs have the correct color and position and how many have the correct color but the wrong position; the feedback does not identify which guessed pegs match.
- 3
Guesses remain on the board, and play continues until the code is guessed or the available rows or attempts are used.
- 4
When the code is guessed, the Codemaker confirms it and reveals the secret code.
- 5
Players switch roles between games.
How it ends
A game ends when the Codebreaker guesses the secret code or uses all available rows or attempts. A series ends after the number of games agreed in advance.
How scoring works
The Codemaker scores one point for every row of Code Pegs placed by the Codebreaker, provided the Codemaker has given correct information. The library PDF says that if the code is not broken after all 10 rows, the Codemaker is awarded 11 points, described as 10 points plus 1 bonus point. It does not clarify whether this replaces or adds to the one-point-per-row rule.
- 1
The Codemaker scores one point for every row of Code Pegs placed by the Codebreaker, provided the Codemaker has given correct information.
- 2
The library PDF says that if the code is not broken after all 10 rows, the Codemaker is awarded 11 points, described as 10 points plus 1 bonus point. It does not clarify whether this replaces or adds to the one-point-per
- 3
The other rules page says that if the Decoder does not crack the code in nine attempts, the Codemaker scores nine points.
- 4
If the Codebreaker proves the Codemaker gave incorrect information, the game is replayed and the Codebreaker receives three extra points.
- 5
Scores are accumulated throughout the series. The library PDF describes moving each player's scoring peg along a score line for each row played; the other rules page says to note scores after each game and add them after
- 6
After the agreed number of games, the player with the highest total score wins.
The Game Keeper does the math
The math is done
Tap to add points as they happen, with bonuses that move between players.
Everyone sees it
Share a link and the scoreboard updates live on every phone. Guests don't need an account.
Settled for good
Every finished game of Mastermind goes in the record book, with streaks and head-to-head records.
Mastermind questions
How do you win Mastermind?
The player with the most points after the agreed series of games wins.
Next Mastermind night, let us keep score.
The rules are built in, everyone follows along on their phone, and the winner goes in the record book.

Game names identify which scoring rules apply. The Game Keeper isn't affiliated with or endorsed by any publisher; rules are summarized in our own words.