Skip to main content
added 75 characters in body; edited tags
Source Link
tohster
  • 41.3k
  • 14
  • 108
  • 140

I'm coding up a fairly simple trivia game. Right now, I have about 350 different pairs of questions and answers.

Each question is chosen at random from the 350 before it is displayed.

While it's not that likely that the exact same question will be randomly chosen twice in a row, it seems to me that there's a fairly good chance that it might come up again soon after it was asked. Should I bother implementing some mechanism to try to prevent recently-asked questions from being asked again, or should I just let it happen?

I'm coding up a fairly simple trivia game. Right now, I have about 350 different pairs of questions and answers. While it's not that likely that the exact same question will be randomly chosen twice in a row, it seems to me that there's a fairly good chance that it might come up again soon after it was asked. Should I bother implementing some mechanism to try to prevent recently-asked questions from being asked again, or should I just let it happen?

I'm coding up a fairly simple trivia game. Right now, I have about 350 different pairs of questions and answers.

Each question is chosen at random from the 350 before it is displayed.

While it's not that likely that the exact same question will be randomly chosen twice in a row, it seems to me that there's a fairly good chance that it might come up again soon after it was asked. Should I bother implementing some mechanism to try to prevent recently-asked questions from being asked again, or should I just let it happen?

Source Link

Should I make an effort to prevent trivia questions from being repeated too quickly?

I'm coding up a fairly simple trivia game. Right now, I have about 350 different pairs of questions and answers. While it's not that likely that the exact same question will be randomly chosen twice in a row, it seems to me that there's a fairly good chance that it might come up again soon after it was asked. Should I bother implementing some mechanism to try to prevent recently-asked questions from being asked again, or should I just let it happen?