
-----------------------------------
jays13
Mon Jun 01, 2009 3:10 pm

Need help asking random questions in a trivia game.
-----------------------------------
I'm making a trivia-style game and don't know how to pick a random question to ask.  I think I can do this by having a file with a bunch of questions in it and randomly asking them, but I'm not sure...

Any help would be appreciated :D

-----------------------------------
Euphoracle
Mon Jun 01, 2009 3:21 pm

RE:Need help asking random questions in a trivia game.
-----------------------------------
You can load all the questions into an object or record type array and swap them with random indices within the bounds of the array and then play it through normally.

-----------------------------------
jays13
Mon Jun 01, 2009 3:24 pm

Re: RE:Need help asking random questions in a trivia game.
-----------------------------------
You can load all the questions into an object or record type array and swap them with random indices within the bounds of the array and then play it through normally.


Is there a link where I can learn about these things?

-----------------------------------
Dusk Eagle
Mon Jun 01, 2009 3:36 pm

Re: Need help asking random questions in a trivia game.
-----------------------------------
Check out . You can find everything you'll need to do this there.

-----------------------------------
jays13
Mon Jun 01, 2009 3:45 pm

RE:Need help asking random questions in a trivia game.
-----------------------------------
I've spent hours already reading the walkthrough before I made an account and can't seem to understand what to do...

-----------------------------------
DemonWasp
Mon Jun 01, 2009 3:49 pm

RE:Need help asking random questions in a trivia game.
-----------------------------------
Read about [url=http://compsci.ca/v3/viewtopic.php?t=9636]Records and Types and think about it. You won't find instructions on how to make a quiz-type game, however.
