The computer generates 4 out of 7 colors randomly. The user has to find what 4 colors were picked by clues and guesses. Since the computer generates the 4 colors, it is possible for the computer to pick two, three, or four of the same colors
dave segala (2021). Mastermind 7 (https://www.mathworks.com/matlabcentral/fileexchange/6929-mastermind-7), MATLAB Central File Exchange. Retrieved .
Hmmm... the game is sometimes cheating:(
I have the same problem.
I found a impossible combination too.
I need two yellow, one white, one black and one blue to complete my sequence.
I agree with Thomas, 3 black and 1 white is impossible. Also, it is annoying to have to click through all the colors, maybe a dropdown menu or something.
How can I have 4 right colors and three of them at the right position? Perhaps I do not understand the rules, but in my opinion 3 black pegs and 1 white peg should be an impossible combination.
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!