I'm working on a little trivia game based on this tutorial: youtube.com/watch which I think might be based on this tutorial: blogs.msdn.microsoft.com/quick_ ... from-file/ or vice versa.
Basically I have a .txt file with the following setup:
Question;
Answer 1;
Answer 2;
Answer 3;
Answer 4;
Correct Answer;
Now in the game we use AJAX to receive the questions and answers from the .txt file. And then we insert them into an array.
In the game I have 5 text elements with a fixed position that I feed the questions and answers to. This means that the answers for each question will always be at the same position for every playthrough of the trivia.
How would you go about mixing up the position of the answers? I'm having a hard time coming up with a solution.
Any help would be much appreciated.