Share on Facebook Share on Twitter Email
Answers.com

mastermind

 
Dictionary: mas·ter·mind   (măs'tər-mīnd') pronunciation
n.
A highly intelligent person, especially one who plans and directs a complex or difficult project: the mastermind of a robbery.

tr.v., -mind·ed, -mind·ing, -minds.
To direct, plan, or supervise (a project or activity).


Search unanswered questions...
Enter a question here...
Search: All sources Community Q&A Reference topics
Antonyms: mastermind
Top

n

Definition: person who devises a great idea
Antonyms: peon


Wikipedia: Mastermind (board game)
Top
Mastermind
Mastermind.jpg
A game of Mastermind completed.
Players 2
Age range 8 and up
Setup time < 5 minutes
Playing time 20 minutes
Random chance Some

Mastermind or Master Mind is a code-breaking game for two players. The modern game with pegs was invented in 1970 by Mordecai Meirowitz, an Israeli postmaster and telecommunications expert, but the game resembles an earlier pencil and paper game called bulls and cows that may date back a century or more.

Contents

Gameplay and rules

The game is played using:

  • a decoding board, with a shield at one end covering a row of four large holes, and twelve (or ten, or eight) additional rows containing four large holes next to a set of four small holes;
  • code pegs of six (or more; see Variations below) different colors, with round heads, which will be placed in the large holes on the board; and
  • key pegs, some colored (often black), some white, which are flat-headed and smaller than the code pegs; they will be placed in the small holes on the board.

The two players decide in advance how many games they will play, which must be an even number. One player becomes the codemaker, the other the codebreaker. The codemaker chooses a pattern of four code pegs. Duplicates are allowed, so the player could even choose four code pegs of the same color. The chosen pattern is placed in the four holes covered by the shield, visible to the codemaker but not to the codebreaker.

The codebreaker tries to guess the pattern, in both order and color, within twelve (or ten, or eight) turns. Each guess is made by placing a row of code pegs on the decoding board. Once placed, the codemaker provides feedback by placing from zero to four key pegs in the small holes of the row with the guess. A colored (often black) key peg is placed for each code peg from the guess which is correct in both color and position. A white peg indicates the existence of a correct color peg placed in the wrong position.

If there are duplicate colours in the guess, they cannot all be awarded a key peg unless they correspond to the same number of duplicate colours in the hidden code. For example, if the hidden code is white-white-black-black and the player guesses white-white-white-black, the codemaker will award two colored pegs for the two correct whites, nothing for the third white as there is not a third white in the code, and a colored peg for the black. No indication is given of the fact that the code also includes a second black.

Once feedback is provided, another guess is made; guesses and feedback continue to alternate until either the codebreaker guesses correctly, or twelve (or ten, or eight) incorrect guesses are made.

The codemaker gets one point for each guess a codebreaker makes. An extra point is earned by the codemaker if the codebreaker doesn't guess the pattern exactly in the last guess. (An alternative is to score based on the number of colored key pegs placed.) The winner is the one who has the most points after the agreed-upon number of games are played.

History

Since 1971, the rights to Mastermind have been held by Invicta Plastics of Oadby, near Leicester, UK. (Invicta always named the game Master Mind.) They originally manufactured it themselves, though they have since licensed its manufacture to Hasbro in most of the world, and two other manufacturers who have the United States and Israel manufacturing rights.

Starting in 1973, the game box featured a photograph of a well-dressed, distinguished-looking white man seated in the foreground, with an attractive Asian woman standing behind him. The two amateur models (Bill Woodward and Cecilia Fung) reunited in June 2003 to pose for another publicity photo.[1]

Algorithms

With four pegs and six colors, there are 64 = 1296 different patterns.

Six-guess algorithm

The following algorithm solves the (six-color) game in six or fewer guesses. It has a general procedure and a few listed exceptions. In this section the six colours are referred to as letters a through f.

Divide the 1296 possible games into four categories:

  • 0 duplicates (eg abcd)
  • 1 duplicate (eg aabc)
  • 2 duplicates (eg aabb or aaab)
  • 3 duplicates (eg aaaa)

The general process is to list all the games that could be correct with the data so far. The list should be sorted by ascending number of duplicates and within each duplicate level alphabetically. Before guess 1, the list is all 1296 games; thus guess 1 is always "abcd." If the reply to guess 1 is "0 0," for example, then the list afterwards comprises the 16 games involving only e and f. Each subsequent guess is the first game remaining in the list, with the following exceptions:

  • Guess 2 is always "bcde"
  • Guess 3 is always "cdef"
  • If the list for guess 4 starts with a game on the left side of the list below, then use the game to its right instead:
    • "acfb" → "dcad"
    • "aebf" → "edfd"
    • "aefb" → "eacc"
    • "afbe" → "bfcd"
    • "bafe" → "eadc"
    • "beaf" → "edae"
    • "befa" → "eeda"
    • "eabf" → "fdfb"
    • "aadb" → "babd"
    • "abae" → "bbcc"
    • "aeaf" → "cffd"
    • "cafa" → "fdfa"
    • "aaee" → "dddf"

Five-guess algorithm

In 1977, Donald Knuth demonstrated that the codebreaker can solve the pattern in five moves or fewer, using an algorithm that progressively reduced the number of possible patterns.[2] The algorithm works as follows:

  1. The first guess is aabb.
  2. Calculate which possibilities (from the 1296) would give the same score of colored and white pegs if they were the answer. Remove all the others.
  3. For each possible guess (not necessarily one of the remaining possibilities) and for each possible colored/white score, calculate how many possibilities would be eliminated. The score of the guess is the least of such values. Play the guess with the highest score (minimax).
  4. Go back to step 2 until you have got it right.
while coloredScore != 0
   if numberOfTries == 0
       guess("aabb")
   else
       maximumGuess = ""
       maximumGuessScore = 0
       foreach possibleGuess
           thisScore = 9999 
           foreach possibleScore
               number_of_removals = count_removals(guess, score)
               thisScore = min(number_of_removals, thisScore)
           if thisScore > maximumGuessScore
               maximumGuessScore = thisScore
               maximumGuess = guess
       guess(maximumGuess)

Subsequent mathematicians have been finding various algorithms that reduce the average number of turns needed to solve the pattern: in 1993, Kenji Koyama and Tony W. Lai found a method that required an average of 4.340 turns to solve, with a worst case scenario of six turns.[3]

In December 2005, Jeff Stuckman and Guo-Qiang Zhang showed in an arXiv article that the Mastermind Satisfiability Problem is NP-complete.[4]

Variations

Varying the number of colors and the number of holes results in a spectrum of Mastermind games of different levels of difficulty. Another common variation is to support different numbers of players taking on the roles of codemaker and codebreaker. The following are some examples of Mastermind games produced by Invicta, Parker Brothers, Pressman, Hasbro, and other game manufacturers:

Game Year Colors Holes Comments
Mastermind 1972 6 4 Original version
Royale Mastermind 1972 5 colors × 5 shapes 3
Mastermind44 1972 6 5 For four players
Grand Mastermind 1974 5 colors × 5 shapes 5
Super Mastermind (a.k.a. Deluxe Mastermind; a.k.a. Advanced Mastermind) 1975 8 5
Word Mastermind 1975 26 letters 4 Only valid words may be used as the pattern and guessed each turn.
Number Mastermind 1976 6 4 Uses numbers instead of colors
Walt Disney Mastermind 1978 5 3 Uses Disney characters instead of colors
Mini Mastermind (a.k.a. Travel Mastermind) 1988 6 4 Travel-sized version; room for only six guesses
Mastermind Challenge 1993 8 5 Both players simultaneously play code maker and code breaker.
Mastermind for Kids 1996 6 3 Animal theme
Mastermind Secret Search 1997 26 letters 3-6 Valid words only; clues are provided letter-by-letter using up/down arrows for earlier/later in the alphabet.
New Mastermind 2004 6 4 For up to five players

The difficulty level of any of the above can be increased by treating “empty” as an additional color or decreased by requiring only that the code's colors be guessed, independent of position.

Computer and Internet versions of the game have also been made, sometimes with variations in the number and type of pieces involved and often under different names to avoid trademark infringement. Mastermind can also be played with paper and pencil.

See also

References

  1. ^ "Landmark Reunion for Mastermind Box Models". http://www.le.ac.uk/press/press/landmarkreunion.html. Retrieved 2006-10-05. 
  2. ^ Knuth, Donald (1976-77), "The Computer as a Master Mind", Journal of Recreational Mathematics (9): 1–6 
  3. ^ Koyama, Mami; Lai, Tony (1993), "An Optimal Mastermind Strategy", Journal of Recreational Mathematics (25): 251–256 
  4. ^ http://arxiv.org/abs/cs.CC/0512049

External links


Translations: Mastermind
Top

Dansk (Danish)
n. - (person med) overlegen intelligens, hjernen bag foretagendet
v. tr. - planlægge, lede, være hjernen bag

Nederlands (Dutch)
uitdenken, het brein zijn achter, brein

Français (French)
n. - cerveau
v. tr. - échafauder, organiser

Deutsch (German)
n. - führender Kopf
v. - erdenken

Ελληνική (Greek)
n. - διάνοια, εγκέφαλος, ιθύνων νους
v. - ιθύνω, είμαι ο ιθύνων νους, συλλαμβάνω και διευθύνω ή πραγματοποιώ σχέδιο, οργανώνω, κινώ

Italiano (Italian)
ideare e dirigere, persona geniale

Português (Portuguese)
n. - pessoa muito inteligente
v. - dirigir um projeto ou atividade

Русский (Russian)
властитель дум, руководитель, управлять

Español (Spanish)
n. - cerebro, inteligencia genial
v. tr. - ser el cerebro de

Svenska (Swedish)
n. - hjärnan (bakom ngt.)
v. - leda, dirigera

中文(简体)(Chinese (Simplified))
才华横溢的人, 策划者, 智囊, 指导, 策划, 主持

中文(繁體)(Chinese (Traditional))
n. - 才華橫溢的人, 策劃者, 智囊
v. tr. - 指導, 策劃, 主持

한국어 (Korean)
n. - 천재, 리더, 주동자
v. tr. - (좋지 않은 일을) 주동하다

日本語 (Japanese)
v. - 巧妙に計画する
n. - 優れた知能の持ち主, 立案者, 指導者

العربيه (Arabic)
‏(الاسم) العقل المدبر (فعل) يدبر‏

עברית (Hebrew)
n. - ‮גאון, מתכנן‬
v. tr. - ‮תכנן, ארגן‬


Best of the Web: mastermind
Top

Some good "mastermind" pages on the web:


Math
mathworld.wolfram.com
 
Shopping: mastermind
Top
 
 

 

Copyrights:

Dictionary. The American Heritage® Dictionary of the English Language, Fourth Edition Copyright © 2007, 2000 by Houghton Mifflin Company. Updated in 2009. Published by Houghton Mifflin Company. All rights reserved.  Read more
Answers Corporation Antonyms. © 1999-2009 by Answers Corporation. All rights reserved.  Read more
Wikipedia. This article is licensed under the Creative Commons Attribution/Share-Alike License. It uses material from the Wikipedia article "Mastermind (board game)" Read more
Translations. Copyright © 2007, WizCom Technologies Ltd. All rights reserved.  Read more