creating a Simon game using a breadboard, 4 LEDs, 4 Buttons, and an ARM STM 32F103 Nucleo-64. Using Assembly Language. Beginning should have LEDs going back and forth on and off until someone presses the button to play. Start the game by illuminating one LED in the first round. The player should replicate this by pressing the corresponding button, which will activate the matching LED. The player has a restricted time frame to press the button. If the player correctly follows the sequence, proceed to the second round, adding another LED to the sequence. Continue this process up to round 10. The game ends if: 1. you fail. 2. you win. If the user does not successfully mimic the pattern within the allotted time, the Failure sequence will activate, consisting of one LED blinking for three seconds. Subsequently, the player's achieved level will be indicated through a binary pattern displayed on the 4 LEDs. However, if the player successfully completes all 10 rounds, the Game Won sequence will initiate, featuring all 4 LEDs blinking on and off simultaneously. Make sure that: The Beginning Sequence and the random number generator have been implemented. Additionally, one round of the game has been successfully set up. The Game Won sequence has also been completed. Please feel free to use tinkercad to replicate the breadboard as well as their connections to the ASM
creating a Simon game using a breadboard, 4 LEDs, 4 Buttons, and an ARM STM 32F103 Nucleo-64.
Using Assembly Language.
Beginning should have LEDs going back and forth on and off until someone presses the button to play.
Start the game by illuminating one LED in the first round. The player should replicate this by pressing the corresponding button, which will activate the matching LED. The player has a restricted time frame to press the button. If the player correctly follows the sequence, proceed to the second round, adding another LED to the sequence. Continue this process up to round 10.
The game ends if:
1. you fail.
2. you win.
If the user does not successfully mimic the pattern within the allotted time, the Failure sequence will activate, consisting of one LED blinking for three seconds. Subsequently, the player's achieved level will be indicated through a binary pattern displayed on the 4 LEDs. However, if the player successfully completes all 10 rounds, the Game Won sequence will initiate, featuring all 4 LEDs blinking on and off simultaneously.
Make sure that:
The Beginning Sequence and the random number generator have been implemented. Additionally, one round of the game has been successfully set up. The Game Won sequence has also been completed.
Please feel free to use tinkercad to replicate the breadboard as well as their connections to the ASM
Step by step
Solved in 3 steps