I have a Quiz program I'm working on. The user is presented with a question and is presented with 5 cards to choose from. The user has to select the correct card that answers the question.
Each card has two unique data. The card has a "Hint" field and the actual "Answer" field.
The Hint is specific for the Answer, which is specific to that particular card.
There's a total of 5 cards. Again, each card has a Hint and Answer.
I need to randomize these cards and place them in different orders. Currently, I'm generating a random number between 1-10 and then manually "randomizing" the cards by rearranging the hints/answers.
Is there a better approach of randomizing the cards? Any tips will be greatly appreciated!