trivia.h

./trivia.h · 577 B

From the archive trivia.tar.gz

Download the archive   « Back to the archive contents

/* Trivia Head contains the questions, question difficulty, and point reward
 */


extern const struct TriviaType TriviaTable[];

struct TriviaType
{
	char *question;
	char *answer;
	sh_int reward;
};

const   struct  TriviaType TriviaTable [] =
{
	{
		"Random question number one. What is the answer?.",
		"Answer1",
		10,
	},
	{
		"Random question number two. What is the answer?.",
		"Answer2",
		20,
	},
	{
		"Random question number three. What is the answer?.",
		"Answer1, Answer2, Answer3",
		30,
	},

	{
		NULL,
		NULL,
		0,
	},
};

Site Stats

Snippets: 1791
Codebases: 571