I’m working on my simon game and I’ve encountered a problem.
Once it gets to level 2, when you click one of the buttons, it blinks twice. Since my game depends on adding a number once into an array when I click a button, whenever it gets to level two it adds that number twice, which messes up the if-else statements that would enable the game to proceed to level 3.
I have tried to stop this from happening but can’t figure out how. Please help.
The project isn’t complete but I can’t move forward if I don’t solve this problem. incase you need more clarification tell me.