We are tasked to create a digital circuit of a password game where there are supposed to be four buttons. The user must know the proper sequence in which the four buttons are pushed. We can either input a password internally or the user can change the password by themselves (bonus). Please help me with the circuitry. I am really lost to where and how to start.
Here's the game:
There are four buttons, A B C D
There is an inner password let's say C-A-D-B.
The user must push buttons in order to get the right password code.
If the first button is wrong, it will display red LED and alarm/sound then a reset button must be pushed to start again.
If the user then guessed the correct code of C-A-D-B, a green LED will light in every right guess of the sequence and a Congratulations-you-are-right LED will light up.
Please help me, thank you!
Here's the game:
There are four buttons, A B C D
There is an inner password let's say C-A-D-B.
The user must push buttons in order to get the right password code.
If the first button is wrong, it will display red LED and alarm/sound then a reset button must be pushed to start again.
If the user then guessed the correct code of C-A-D-B, a green LED will light in every right guess of the sequence and a Congratulations-you-are-right LED will light up.
Please help me, thank you!
Last edited: