Objective:
The objective of Mastermind is to guess the secret code created by the other player (or in this case, the computer) within a limited number of attempts.
The Code:
The secret code consists of a sequence of icons. The Code is 4 icons long, there are 6 different icons, and there are 6 attempts to guess the code
Making a Guess:
Player guesses at what the code might be. After each guess, the computer provides feedback to help the codebreaker deduce the correct code.
Feedback:
The feedback consists of a series of red and yellow fields that indicate the accuracy of the guess. A red peg indicates a correct icon in the correct position, while a yellow peg indicates a correct icon in the wrong position.
Winning the game:
The game continues with the codebreaker making successive guesses until the code is correctly guessed or until the maximum number of allowed guesses is reached. The codebreaker wins by guessing the correct code within the given number of attempts.
If you want to read more about this app, click here
If you want to read more about the algorithm that solves the game, click here
If you want to learn more about me, click here