Create a score system for a quiz game

Hello, I’m looking to create a score system for a quiz game where you win a point for each correct answer.

Do you have any tips or ideas on how to do this?

Thanks in advance.

Hi @Marioucheka this can be achieved in many ways, but it depends on how you managing and displaying Questions and Answers Dialogue. The core operation would be a conditional check for matches between the Player’s Answers and the Question’s Answers both correct and incorrect.

I presume this would be text-based (for now). I took into consideration:

  • Question Categories
  • Additional Information about the Question/Answers
  • One or more Correct Answers could be selected for multiple choice
  • Variable Score based on One or more Correct Answers (Fully and Partially correct)
  • Variable Penalty based on One or More Incorrect Answers.
  • Hints to guide towards Correct Answer
  • Tricks to guide to Incorrect Answers )
  • Time to Submit Answer

I would start with a hierarchy of Blueprint Structs that contains:

Struct Question
   String Question
   String Category
   Name Type
   String Information
   float TimeToSubmit
Struct Answer
   String Text
   Float Score
   String Array Hints
Struct QuestionAnswer
    Struct Question
    Struct Answer Array Correct
    Struct Answer Array Incorrect
Struct Quiz
   Struct QuestionAndAnswers Array