Question: - There should be 4 LEDs and 4 buttons for sequence remember challenge - Game should has 1 0 levels ( details below ) -
There should be LEDs and buttons for sequence remember challenge
Game should has levels details below
There should be LED to display the current level details below
The game works as ;
At the start, all LEDs should be blinking with ms delay
Whenever a button is pressed any button the LEDs should be turned on for secs
After that, all LEDs should turn off, and game starts after sec
At st level, a random LED blink will occur in one of the LEDs, then game waits the user input with button
If the button press is correct with respect to LED the level will increase to Eg if the st LED blinked, and user pressed the st button
At the nd level, random blinks will occur. After the blinks, the user input will be waited. If buttons are pressed correctly according to blinks, then process will continue to increment to level Eg if blinks are occurred in nd and st LEDs, the user should press nd and st buttons in same order
In each level, one more random blink will occur.
In each level, the brightness of the indicator LED should be increased.
At the end of game, fail or completed, game should jump back to start and wait user start with blinking LEDs same with starting condition
Please give me Arduino code and circuit design
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
