Giter Club home page Giter Club logo

eeprom-musical-memory-game-arduino's Introduction

The Memory Game is a game in which four LEDs flash up in a specific order, each with a different tone, and you must repeat the sequence. When you get it right each round, the game will give you the sequence again, this time with an extra color at the end.

To begin, the player should press the start button, which will generate a random sequence (the seed that is generated by the noise/air) with a music tone, prompting the player to repeat the pattern. If it's correct, the game will add a new color/tone every time.

The player's score is kept track of, and it increases with each round. The highest score is stored in the internal EEPROM of Arduino which is never lost when the power supply is off. If the player chooses the incorrect sequence, the game ends, and the player's score is displayed; if he scores greater than the highest score, a new high score is presented on the LCD. Otherwise, the highest score will stay the same, and both the higher score and the player score will be shown. To play again press the reset button in the Arduino.

Note: the game can be upgraded to speed up the sequence speed with each round to make it more challenging.

COMPONENTS USED

1x Arduino Uno

5x 10K-ohm resistors

5x 220-ohm resistors

4x LEDs (yellow, red, green, and blue)

5x push buttons

1x piezo (buzzer)

1x LCD display screen (16x2)

1x 10K-ohm potentiometer

Jumper wires

Breadboard

eeprom-musical-memory-game-arduino's People

Contributors

sfadaaq avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.