Mastermind
The objective of Mastermind is to guess the correct combination of colors. When you submit a guess, the system tells you how any colors are in the right places and how many are present in the correct combination but are in the wrong places.
For instance, if the correct answer is (Red, Blue,Yellow,Green) and you try this combination: (Red,Black,Black,Blue), in this case you have 1T because red is the correct place and 1V since Blue is not the correct place. This game is quite difficult, especially when some colors are used more that once.
Java source file can be downloaded bellow. To choose and put one color, click on the color (on the right) then click on the place you want to put the color in.
For instance, if the correct answer is (Red, Blue,Yellow,Green) and you try this combination: (Red,Black,Black,Blue), in this case you have 1T because red is the correct place and 1V since Blue is not the correct place. This game is quite difficult, especially when some colors are used more that once.
Java source file can be downloaded bellow. To choose and put one color, click on the color (on the right) then click on the place you want to put the color in.
mastermind.jar | |
File Size: | 10 kb |
File Type: | jar |