- The project is to build a simple Memory Game with Arduino Uno microcontroller board and appropriate interfacing hardware.
- Arduino Uno microcontroller board
- 4 LEDs with different colors
- 4 LDRs
- 2 Seven Segment Displays
- 1 Piezo Buzzer
- 2 Push Buttons
- Within the display time, LEDs light up in a random sequence and the player has to memorize this sequence.
- In the recall time, the player has to repeat the same sequence on the LDR touch-buttons.
- If the player enters a wrong sequence, or was not able to enter the sequence within the recall time, the game ends.
- Otherwise, the player gets 1 point and the game moves on to the next round (another random sequence of same length is displayed and recalled).
- If the player successfully completes 3 rounds with the same sequence length (same level), the game advances to the next level where sequences are of a higher length.
- At level 1, player is given a shorter sequence length and the sequence length increases at every level. Display time and recall time differ as appropriate for each level.
- The score is displayed using a seven-segment display throughout the game.
- At the very beginning (before level 1 starts), the player can select the difficulty setting using two push buttons and the seven-segment display.
- The speed at which the sequence is displayed, changes with difficulty setting.
- Pressing both push buttons at the same time will fix the selected difficulty setting and start level 1 of the game.
- The piezo buzzer should be used to provide sound effects for various events (level start. level end, correct sequence, wrong sequence).