Gameweave
Code Breaker
1 player
Play now

History of Code Breaker

Origins

Code Breaker belongs to a family of deduction games in which one player hides a secret and the other finds it from counts of how close each guess came. The family is older than any commercial set, and for a long time it was played with pencil and paper, which leaves little record.
The best-known early form is Bulls and Cows. Two players each hide a code, commonly a four-digit number. After each guess, the player who set the code says how many digits are right and in the right place (bulls) and how many are right but in the wrong place (cows). A digit is counted at most once. Nobody has pinned down who invented it or when. It was widely played before anyone sold a boxed version.

How it reached computers

The first known computer version was written by Frank King at the University of Cambridge Computer Laboratory, for the laboratory's Titan computer. He called it MOO. It was already popular before the summer of 1970, popular enough that the laboratory had to keep it from crowding out other work. King later recalled writing the program in 1968. Players kept a league table of scores, and protecting that table from tampering became an early case study in computer security.
In 1972 the Cambridge game was carried to the Multics system at the Massachusetts Institute of Technology, where hundreds of players took it up within months. Other copies were written around the same time for early Unix and for DEC machines.

Pegs instead of digits

The same two counts move easily from digits to colors. In 1970 Mordecai Meirowitz, an Israeli postmaster and telecommunications expert, designed a board for it: one player hides a row of colored pegs, the other guesses, and small black and white pegs score the guess. Black stands for a bull, white for a cow. After major toy companies turned the idea down, Invicta Plastics of Leicester bought the rights, refined the pieces, and released the game in 1971–72. It won the first Game of the Year award in 1973 and sold widely around the world.
The scoring rule did not change. Exact matches are taken first, then the leftover colors, and no peg is matched more than once. The board never says which positions the pegs came from. That is the whole puzzle.

The game on Gameweave

Code Breaker is that table, played alone. The vault seals the code. You fill a row and read the two counts. The code stays covered until you crack it or spend the last guess, and then it is shown. Each color carries a letter, so the puzzle does not depend on hue alone. A shorter palette, a shorter code, and a ban on repeated colors are lobby choices; the counts are scored the same way in every case.
The word form of the same idea is Word Guess: a hidden five-letter word, and each letter marked for the right place, the wrong place, or absent. Hangman is the other hidden-answer game in the catalog, guessed one letter at a time.

Further reading

  • •
    "Bulls and cows", Wikipedia. The pencil-and-paper game, the bull and cow counts, and the early computer versions, including MOO.
  • •
    "Mastermind (board game)", Wikipedia. Meirowitz's 1970 design, Invicta's 1971–72 release, and the black and white scoring pegs.
  • •
    "Mordecai Meirowitz", Wikipedia. The inventor, and Invicta Plastics restyling the game for release in 1971.
  • •
    Word Master Mind, Victoria and Albert Museum. The museum's note on Invicta's release in 1971–72 and the 1973 Game of the Year award.
  • •
    J. S. Grochow, "MOO in Multics", Software—Practice and Experience 2 (1972), pp. 303–308. The Cambridge game on Multics at MIT, and the league table as a security problem.
  • •
    Duncan Fyfe, "The Mysterious Origins of Mastermind, the Codebreaking Board Game", VICE, 9 March 2020. An interview with Frank King, including his recollection that he wrote MOO in 1968.
Code Breaker still
Code Breaker
Verified
No ratings yet
1 player
5–15 min

Facts

Players
1 player
Play time
5–15 min
Games played
1
Updated
2 days ago
Version
1.0.2
Minimum age
All ages
License