27 lines
525 B
C++
27 lines
525 B
C++
//
|
|
// Created by caleb on 4/22/24.
|
|
//
|
|
|
|
#ifndef MP5_CALEBFONTENOT_TRIVIAGAME_H
|
|
#define MP5_CALEBFONTENOT_TRIVIAGAME_H
|
|
|
|
|
|
#include <string>
|
|
#include <vector>
|
|
|
|
class TriviaGame {
|
|
|
|
public:
|
|
static void triviaGameLoop();
|
|
|
|
struct TriviaQuestion {
|
|
std::string triviaQuestion;
|
|
std::vector<std::string> triviaOptions;
|
|
int correctQuestion;
|
|
TriviaQuestion(std::string triviaQuestion, std::vector<std::string> triviaOptions, int correctQuestion);
|
|
};
|
|
};
|
|
|
|
|
|
#endif //MP5_CALEBFONTENOT_TRIVIAGAME_H
|