diff --git a/src/main/quizproject.c b/src/main/quizproject.c index cea03ad..414d18d 100644 --- a/src/main/quizproject.c +++ b/src/main/quizproject.c @@ -659,11 +659,23 @@ void play_milliongame() { int million_i = 0, million_k = 0;; char million_user_answers[round]; - char million_std_answers[round] = {'B', 'A', 'A'}; + char million_std_answers[round] = {'B', 'A', 'A','B', 'A', 'A','B', 'A', 'A','B', 'A', 'A','B', 'A', 'A'}; int million_stay_in_game = 0, million_reward = 0; int million_lifeline_hint = 1, million_lifeline_delete = 1; char questions[round][256] = { + "What is the capital of France?", + "Who was the first president of the United States?", + "Which team won the most NBA championships?", + "What is the capital of France?", + "Who was the first president of the United States?", + "Which team won the most NBA championships?", + "What is the capital of France?", + "Who was the first president of the United States?", + "Which team won the most NBA championships?", + "What is the capital of France?", + "Who was the first president of the United States?", + "Which team won the most NBA championships?", "What is the capital of France?", "Who was the first president of the United States?", "Which team won the most NBA championships?" @@ -672,6 +684,18 @@ void play_milliongame() { { "A) Berlin", "B) Paris", "C) London", "D) Rome" }, { "A) George Washington", "B) John Adams", "C) Thomas Jefferson", "D) James Madison" }, { "A) Los Angeles Lakers", "B) Chicago Bulls", "C) Golden State Warriors", "D) Boston Celtics" }, + { "A) Berlin", "B) Paris", "C) London", "D) Rome" }, + { "A) George Washington", "B) John Adams", "C) Thomas Jefferson", "D) James Madison" }, + { "A) Los Angeles Lakers", "B) Chicago Bulls", "C) Golden State Warriors", "D) Boston Celtics" }, + { "A) Berlin", "B) Paris", "C) London", "D) Rome" }, + { "A) George Washington", "B) John Adams", "C) Thomas Jefferson", "D) James Madison" }, + { "A) Los Angeles Lakers", "B) Chicago Bulls", "C) Golden State Warriors", "D) Boston Celtics" }, + { "A) Berlin", "B) Paris", "C) London", "D) Rome" }, + { "A) George Washington", "B) John Adams", "C) Thomas Jefferson", "D) James Madison" }, + { "A) Los Angeles Lakers", "B) Chicago Bulls", "C) Golden State Warriors", "D) Boston Celtics" }, + { "A) Berlin", "B) Paris", "C) London", "D) Rome" }, + { "A) George Washington", "B) John Adams", "C) Thomas Jefferson", "D) James Madison" }, + { "A) Los Angeles Lakers", "B) Chicago Bulls", "C) Golden State Warriors", "D) Boston Celtics" } }; while(million_i < round && million_stay_in_game == 0){ diff --git a/src/main/quizproject.h b/src/main/quizproject.h index 04feaae..90b937b 100644 --- a/src/main/quizproject.h +++ b/src/main/quizproject.h @@ -56,7 +56,7 @@ void B_show_time(void); int B_testround(void); #define NUM_QUESTIONS 5 -#define round 3 +#define round 15 #define MAX_LIVES 10 #define MAX_WORD_LENGTH 20