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.
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:
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