home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: sci.math
- Path: sparky!uunet!destroyer!cs.ubc.ca!newsserver.sfu.ca!sfu.ca!gay
- From: gay@selkirk.sfu.ca (Ian D. Gay)
- Subject: Re: Master Mind:A question.
- Message-ID: <gay.724358375@sfu.ca>
- Keywords: Master Mind Game
- Sender: news@sfu.ca
- Organization: Simon Fraser University, Burnaby, B.C., Canada
- References: <1992Dec5.180849.15981@dartvax.dartmouth.edu> <1992Dec13.221551.12761@scorch.apana.org.au>
- Date: Mon, 14 Dec 1992 18:39:35 GMT
- Lines: 21
-
- jimgar@scorch.apana.org.au (Jim Garner) writes:
-
- >evant@coos.dartmouth.edu (Evan E. Thomas) writes:
-
- >|My question regards the game "MasterMind" where 4 pegs are chosen (from an
- >[deletions]
- >|You would be told that 1 color is exactly right and that two others are in
- >|the solution. You have exactly 10 guesses to find the solution. Is there
- >|an algorithm that will insure victory?
-
- >There is an optimal strategy that has been published. It is very long
- >and divided into cases, so I wouldn't call it an algorithm. But it
- >certainly can be done in less than 10 guesses every time. All I
- >remember is that your first guess should contain 2 colours only, 2
- >pegs of each.
-
- Having played a lot of Mastermind with my kids, I am of the opinion
- that the 5-peg version can usually be solved in 6 guesses; presumably
- the 4-peg version should require less. Sorry, I don't know an
- algorithm, but I recommend starting with two completely random
- guesses, then reasoning about the results.
-