Main Content

An Uno R3 version of the famous mastermind/Codebreaker game. Can you crack the code in 10 guesses? Uses basic components found in most kits.

As I just got my first board, I wanted a simple goal to accomplish, mainly to get used to wiring up a board and writing c++. I envisioned a simple Mastermind/Codebreaker game.

The rules are simple: the goal is to guess the code, you have 10 guesses to find it out. Whenever you guess a digit correct, the led turns on. If you guess a digit right, but it is not in the correct positions, the led blinks.

Parts:

Arduino Uno R3- 74hc595
7-segment-4-digit display
5x buttons
4x leds on 200 Ohms resistors”

Link to article