Browse Source

million game - added hint option

main
fdlt3917 2 years ago
parent
commit
d10e76a897
  1. 8
      src/main/quizproject.c

8
src/main/quizproject.c

@ -661,6 +661,7 @@ void play_milliongame() {
char million_user_answers[round];
char million_std_answers[round] = {'B', 'A', 'A'};
int million_stay_in_game = 0;
int million_lifeline_hint = 1;
char questions[round][256] = {
"What is the capital of France?",
@ -721,6 +722,13 @@ void play_milliongame() {
printf("\nIncorrect!");
million_stay_in_game == 1;
}
break;
case 'H':
million_lifeline_hint = 0;
printf("Hint would be displayed here\n");
goto point_one;
break;
default:
goto point_one;

Loading…
Cancel
Save