Author |
Topic: Mastermind I/II Solutions? (Read 4989 times) |
|
dbaker84
Newbie
Posts: 3
|
|
Mastermind I/II Solutions?
« on: Feb 23rd, 2006, 12:15am » |
Quote Modify
|
Can someone post the solutions to these so I can verify if I did them correctly?
|
|
IP Logged |
|
|
|
Barukh
Uberpuzzler
Gender:
Posts: 2276
|
|
Re: Mastermind I/II Solutions?
« Reply #1 on: Feb 23rd, 2006, 1:45am » |
Quote Modify
|
Maybe, you can post your solutions so we can verify if you did them correctly?
|
|
IP Logged |
|
|
|
towr
wu::riddles Moderator Uberpuzzler
Some people are average, some are just mean.
Gender:
Posts: 13730
|
|
Re: Mastermind I/II Solutions?
« Reply #2 on: Feb 23rd, 2006, 2:28am » |
Quote Modify
|
I: Green, Red, Light Blue, Brown II: Yellow, Yellow, Yellow, Light Blue
|
|
IP Logged |
Wikipedia, Google, Mathworld, Integer sequence DB
|
|
|
dbaker84
Newbie
Posts: 3
|
|
Re: Mastermind I/II Solutions?
« Reply #3 on: Feb 23rd, 2006, 2:29am » |
Quote Modify
|
thanks.
|
« Last Edit: Feb 23rd, 2006, 2:30am by dbaker84 » |
IP Logged |
|
|
|
japnik
Newbie
Posts: 2
|
|
Re: Mastermind I/II Solutions?
« Reply #4 on: Aug 24th, 2011, 4:47am » |
Quote Modify
|
first lets see which colors are there in answer from guess2 :- lightblue and green must be there from guess1 :-one of light-blue and dark blue, but we already got light blue from guess2 from guess3:-one from dark blue and brown, it must be brown as its not dark blue ( by guess1) from guess 4 :- one from dark-blue and red, which is red by same reasoning so colors are green red brown light blue for ordering see guess 1 , it gives correct place of three of them, automatically giving correct place for fourth one also so ans is Green red light blue brown
|
|
IP Logged |
|
|
|
japnik
Newbie
Posts: 2
|
|
Re: Mastermind I/II Solutions?
« Reply #5 on: Aug 24th, 2011, 12:35pm » |
Quote Modify
|
i assumed all colors shud be diff
|
|
IP Logged |
|
|
|
c
Newbie
Posts: 6
|
|
Re: Mastermind I/II Solutions?
« Reply #6 on: Mar 24th, 2012, 1:48pm » |
Quote Modify
|
Yes, japnik, i also am much more familiar with the simplified version of only different colour pegs. However, my reasoning uses another direction, based on comparing guesses instead of left-out colours. For example, considering Mastermind I: * the effect of changing from guess 1 to guess 2 is the loss of one information result-peg, which is triggerred by changing from green to dark blue. Therefore, green generates a peg and is in the "target" combo, while dark blue doesn't and isn't. * similarly, for guess 1 to guess 2, a black result-peg changed into a white one, triggerred by changing from brown to light-blue. In such cases though, the other guess-pegs usually change position, so the conclusion would've been that brown is "similar" to light-blue (either both are in the target, or both aren't), but in this case the conclusion is that both are "in". * guess 4 establishes which of the red and yellow is to be replaced by the light-blue. So the solution is indeed: green, red, light blue, brown. As for the Repeating Colours case (Mastermind II), i always found it tricky to nail the specific rules used, especially when they're not stated before-hand. Do the black answer-pegs get decided first, or do guess-pegs get considered left-to-right instead? Does guessing one green peg while the target has three generate one or three answer-pegs? Does guessing three yellows while the target has only one generate one or three? * So could the fact that one red being replaced by a yellow generated an increase in the answer-pegs conceivably mean that there might be one red and two yellow in the target combo? Granted, this turns out not to be the case here, but still... I maintain it's a (much) harder type of "riddle" than the other one.
|
|
IP Logged |
|
|
|
rmsgrey
Uberpuzzler
Gender:
Posts: 2873
|
|
Re: Mastermind I/II Solutions?
« Reply #7 on: Mar 26th, 2012, 6:02am » |
Quote Modify
|
on Mar 24th, 2012, 1:48pm, c wrote:As for the Repeating Colours case (Mastermind II), i always found it tricky to nail the specific rules used, especially when they're not stated before-hand. Do the black answer-pegs get decided first, or do guess-pegs get considered left-to-right instead? Does guessing one green peg while the target has three generate one or three answer-pegs? Does guessing three yellows while the target has only one generate one or three? * So could the fact that one red being replaced by a yellow generated an increase in the answer-pegs conceivably mean that there might be one red and two yellow in the target combo? Granted, this turns out not to be the case here, but still... I maintain it's a (much) harder type of "riddle" than the other one. |
| I've only ever seen it done by establishing the bijection between guess and answer rows that maximises the number of black pegs, and the total number of pegs, in the response. One way of looking at it is that the black pegs are the number of exact matches between the target and query strings, while the white pegs are the maximum number of additional matches that could be generated by any single permutation of the query string.
|
|
IP Logged |
|
|
|
Grimbal
wu::riddles Moderator Uberpuzzler
Gender:
Posts: 7527
|
|
Re: Mastermind I/II Solutions?
« Reply #8 on: Mar 26th, 2012, 10:03am » |
Quote Modify
|
I agree with rmsgrey. I prefer to consider the total number of answer-pegs. The total of blak and white is the number of pegs that are correct regardless of order. If you swap one red for one yellow and the total number of answer-pegs increases, then you know the red is wrong and the yellow is correct. I.e. there were too many reds and too few yellows in the first try.
|
« Last Edit: Mar 26th, 2012, 10:03am by Grimbal » |
IP Logged |
|
|
|
|