Main Content

Project to enable Arduino to play Mastermind and guess the secret code

This project is based on the Master Mind game. The program allows Arduino to guess the secret code chosen by you. At each attempt, you will need to use buttons 1, 2, 3 to enter the key code. At each attempt, the algorithm finds all candidate codes as possible secret codes and plays one of them at random. The game ends when the entered key code confirms that the secret code has been guessed or if the played code is the only one that can be the secret code.”

Link to article