|
@ -737,29 +737,25 @@ void play_milliongame() { |
|
|
} |
|
|
} |
|
|
break; |
|
|
break; |
|
|
case 'F': |
|
|
case 'F': |
|
|
million_lifeline_delete = 0; |
|
|
|
|
|
printf("\nComputer will now MARK two wrong answers...\n"); |
|
|
|
|
|
|
|
|
|
|
|
while(million_k < 4 && million_count_replace < 2){ |
|
|
|
|
|
if(answers[million_i][million_k][0] != million_std_answers[million_i]){ |
|
|
|
|
|
answers[million_i][million_k][0] = 'X'; |
|
|
|
|
|
million_count_replace = million_count_replace + 1; |
|
|
|
|
|
} |
|
|
|
|
|
million_k++; |
|
|
|
|
|
} |
|
|
|
|
|
for(int million_n = 0; million_n < 4; million_n++){ |
|
|
|
|
|
printf("%s\n",answers[million_i][million_n]); |
|
|
|
|
|
} |
|
|
|
|
|
printf("Enter a valid Response: "); |
|
|
|
|
|
scanf(" %c", &million_user_answers[million_i]); |
|
|
|
|
|
million_user_answers[million_i] = toupper(million_user_answers[million_i]); |
|
|
|
|
|
|
|
|
|
|
|
if(million_user_answers[million_i] == million_std_answers[million_i]){ |
|
|
|
|
|
printf("\nCorrect!"); |
|
|
|
|
|
|
|
|
if(million_lifeline_delete != 1){ |
|
|
|
|
|
printf("\nFifty/Fifty lifeline already used\n"); |
|
|
|
|
|
goto point_one; |
|
|
} |
|
|
} |
|
|
else{ |
|
|
|
|
|
million_stay_in_game = 1; |
|
|
|
|
|
printf("\nIncorrect!"); |
|
|
|
|
|
|
|
|
else { |
|
|
|
|
|
million_lifeline_delete = 0; |
|
|
|
|
|
printf("\nComputer will now MARK two wrong answers...\n"); |
|
|
|
|
|
|
|
|
|
|
|
while(million_k < 4 && million_count_replace < 2){ |
|
|
|
|
|
if(answers[million_i][million_k][0] != million_std_answers[million_i]){ |
|
|
|
|
|
answers[million_i][million_k][0] = 'X'; |
|
|
|
|
|
million_count_replace = million_count_replace + 1; |
|
|
|
|
|
} |
|
|
|
|
|
million_k++; |
|
|
|
|
|
} |
|
|
|
|
|
for(int million_n = 0; million_n < 4; million_n++){ |
|
|
|
|
|
printf("%s\n",answers[million_i][million_n]); |
|
|
|
|
|
} |
|
|
|
|
|
goto point_one; |
|
|
} |
|
|
} |
|
|
break; |
|
|
break; |
|
|
case 'P': |
|
|
case 'P': |
|
|