Questions tagged [mastermind]

This tag is for questions about the board game Mastermind.

Mastermind is a code-breaking 2-player game created in 1970. It is based on a game called Moo used on the Cambrige Titan computer to practice code-breaking; this game itself was actually based on an older game called "Bulls and Cows". Dr John Billingsley had the idea to create the game, and it was then designed by Mordecai Meirowitz, an Israeli postmaster and telecommunications expert.

One player selects a sequence of coloured pegs and the other player tries to work out what this sequence is, by making guesses and receiving information on how accurate the guesses are, and using deductions to reduce the number of possibilities.

The basic variant is with 6 colours and 4 holes, and repetition is not allowed. The answerer uses white pegs for correct colour in the correct position, and black pegs for correct colour in an incorrect position.

For example:

The Wikipedia article on Mastermind can be found here.

44 questions
17
votes
2 answers

Finish the Mastermind

Mastermind is a well-known game. Here's a brief reminder of the rules: There's a secret code consisting of a sequence of five colored circles (items). Colors may appear more than once. Your job is to figure out the code. You do so by guessing a…
Dr Xorile
  • 23,406
  • 3
  • 47
  • 125
16
votes
9 answers

crack this code #1965

Using the clues provided, determine the 'password'. 501 — Two correct numbers in wrong places 135 — One correct number in the right place 483 — All numbers are wrong 167 — One correct number in wrong place 430 — One correct number in the wrong…
Brenda Scott
  • 161
  • 1
  • 3
4
votes
1 answer

Master Mind Rule ambiguity

A recent question about Programming a Prolog solver for a Master Mind type problem generated a question about a scoring rule ambiguity for Master Mind, which is not solved by the Wikipedia page entry for "Master Mind" Suppose you have this…
David Tonhofer
  • 363
  • 1
  • 8
3
votes
2 answers

5-digit puzzle code looking for solution

Can somebody help me solve this, or can you teach me how? 4 7 2 9 1 - One number is correct but not in right position 9 4 6 8 7 - One number is correct but not in right position 3 1 8 7 2 - Two numbers are correct but only one is in right position 1…
0
votes
1 answer

Crack the code? Puzzle

Crack the code . Can you. Then you will be genius.
0
votes
2 answers

Guess my number

There is a popular game called Mastermind in which one player guesses another player's secret sequence - it could be a word, some colors, or numbers. The guesser says a possible sequence, and they get back the number of correct numbers in the right…
Oray
  • 30,307
  • 6
  • 61
  • 215