I'm creating a multi-answer quiz game and I'm stuck on a couple of things:
1. I've used an array to store my questions and answers and have set the questions to appear on screen in a random order but some questions are repeating which I obviously do not want. Is there a way I can tell the array not to pick a question if it's already been used?
2. When the user presses an answer, how do I get the correct one to turn green and the others to turn red?
I've attached an image to show how the correct answer is chosen.
I've been trying to do this for about a week and had no success, so any help would be amazing.
Thanks.