I need some help on how to make 3 buttons have random answers from an array which change each time the question changes.
I need some help on how to make 3 buttons have random answers from an array which change each time the question changes. One random button must contain the correct answer. The game is similar to who wants to be a millionaire.
I have an array of questions which display randomly when the start button is pressed and an array of answers which currently 3 are displayed on seperate labels. So then there are 3 buttons which link to the labels so you can choose your answer. While testing different strategies I currently have 3 arrays Set up for the answers and have them giving random answers on the 3 labels but It doesnt guarante that the correct answers will be there. My issue is I cannot seem to get the correct answer to be on a random label while the other two labels contain wrong answers. all help most appreciated :)