Hi, I need help with Simon Memory game.
How can I prevent or ignore further clicks after a wrong sound is played? At the moment, my code plays more than one example melody in paralel. When wrong note is clicked exmaple melody starts playing. If note is clicked before the end second example melody plays at the same time. Third could be added the same way.
Here is the link:
melodyPlaying = true
givingFeedbackor something to true and create a timer at the moment to set it false after some amount of time, after sound would be done.
givingFeedbackis true or not. If it's true, don't do anything.