I'm currently writing a trivia game for someone in VB.net (will follow similar pattern to TriviaCrack). My question is, what is the best way to contain the questions to have them display in a multiple choice fashion on the screen and their sequence to be randomized? Right now, I am thinking an array of each category, and each array randomly sequenced. I'm not sure if this would be best. Any ideas/suggestions?
CaffeineCoder
0
Poster
Recommended Answers
Jump to PostVb.net is an OOP language. So model the real world and create your classes that way.
Jump to PostJim is spot on "efficiency is irrellevent. Focus more on clear code" - that's exactly the mindset to be in.
Also in a real trivia game you have a Deck of used questions and a Deck of unused questions so you could model it that way maybe.
So if you …
All 5 Replies
DaveAmour
160
Mmmmmm beer
Featured Poster
CaffeineCoder
0
Poster
Reverend Jim
4,780
Hi, I'm Jim, one of DaniWeb's moderators.
Moderator
Featured Poster
CaffeineCoder
0
Poster
DaveAmour
160
Mmmmmm beer
Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.