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.
It is an adaptation of this game: https://en.wikipedia.org/wiki/Mastermind_(board_game)
Parts:
- Arduino Uno R3- 74hc595
- 7-segment-4-digit display
- 5x buttons
- 4x leds on 200 Ohms resistors
I have not found a nice way to make a schematic, so I just made a few tables regarding how it's wired:
Also, see my gitlab page for more information:
Comments