williamBurke wrote:the math problems are easy ... it's the puzzle box I can't solve because the instructions make no sense.
I do not understand the instructions. the part about the number of color choice wrong in columns or whatever it is.
please explain the instructions or have an example or something. I should be able to do but the instructions are not good ... I need a tutorial example to help me get it.
Best I can do is show some examples. In terms of eliminating the largest number of problems, the best solution is to make your first guess have only 2 colors in it. So AABB or ABBA where A and B are 2 "random" colors. I always start with RRGG when I am not using my solver I wrote.
Example One:
1) RRGG C:1 P:1 (This means that I have 1 peg in the correct place and one peg in the wrong place, and 2 pegs that do not belong).
2) Next I will keep the 2 reds to see what happens and switch the greens to a blue and a yellow.
BYRR C:0 P:3 (This means that I have 3 pegs in the wrong place, and one peg that does not belong).
3) Next I need to figure out if there are 2 reds or 1 red and 1 green.
GYYY C:1 P:1 (This means that there is at least one yellow).
4) Next I will try:
BGBB C:2 P:0 (Now I can make some deductions. From guess 2 and guess 3 and this guess, I know that there one yellow and one blue and one red and one green, all I need now are correct placements. From this guess I know that the green belongs in spot 2 and from this deduction and the first and second guesses, I know that red belongs in spot 1. All I have left to do is figure out if the yellow belongs in spot 3 and green in spot four or vice versa, and I have two guesses to do it).
5) RGYB: C:2 P:2 (Oops, wrong order, all I have to do is switch them).
6) RGBY C:4 P:0
This took 6 guesses to do. In hindsight, I should have made my second guess RRBY or RRYB. I found a set of 4 guesses that will (always) produce the correct answer by the fifth guess. I will show that example with the a different color sequence as the final answer.
1) RGGR C:3 P:0 (This time I have 2 pegs in right place and 2 that do not belong. The remaining solutions are all ones that have 2+ reds and 1 green, 2+ greens and 1 red, very lucky as far as first guesses go).
2) BBRR C:0 P:2 (2 pegs in wrong spot, 2 dont belong. The last spot is NOT a red, therefore we can deduce RGGB as being the correct answer in solely 2 guesses).
3) RGGB C:4 P:0
I was only going to show 2 examples, but the previous one was sooo easy, I will give you a bonus third using the same sequence of 4 my solver uses again.
1) RGGR C:1 P:0
2) BBRR C:2 P:1 (From the first 2 guesses, we can already deduce that there is 2 blues and a red, and by extension either one more blue or a yellow. We know placement to be either RBBX or XBBR).
3) YYGR C:2 P:0 (Not exactly the most logical next guess, but it is the sequence I use to always solve a puzzle so we will go with it. We know now that the XBBR was the correct sequence with yellow being the unknown X).
4) YBBR C:4 P:0
btw- the sequence of guesses you can always rely on are RGGR, BBRR, YYGR, GBBY.
If you are still confused, stick to using my tool.
http://dream-world.hostse.com/mastermind.html
Need Help:
http://dream-world.hostse.com/More to come, and please report all problems you encounter.