The program uses two List Variables, one called Questions and the other Answers. Importantly, there's the same number of items in each list.
When the sprite is clicked, it chooses a random number, asks a question, and checks to see if your answer matches the corresponding answer. For example, if the random number was 6, it would ask question number 6 and check that whatever you typed matches answer number 6.
A complete program would ask the questions in a loop, and keep track of your score. For the moment, we're just interested in the list variables.
|