|
@ -759,20 +759,18 @@ void play_milliongame() { |
|
|
} |
|
|
} |
|
|
break; |
|
|
break; |
|
|
case 'P': |
|
|
case 'P': |
|
|
million_lifeline_friend = 0; |
|
|
|
|
|
printf("\nYou can now ask a friend for help...\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!"); |
|
|
|
|
|
} |
|
|
|
|
|
else{ |
|
|
|
|
|
million_stay_in_game = 1; |
|
|
|
|
|
printf("\nIncorrect!"); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
if(million_lifeline_friend != 1){ |
|
|
|
|
|
printf("\nLifeline Friend already used\n"); |
|
|
|
|
|
goto point_one; |
|
|
|
|
|
} |
|
|
|
|
|
else{ |
|
|
|
|
|
million_lifeline_friend = 0; |
|
|
|
|
|
printf("\nYou can now ask a friend for help...\n"); |
|
|
|
|
|
for(int j=0;j<4;j++){ |
|
|
|
|
|
printf("%s\n",answers[million_i][j]); |
|
|
|
|
|
} |
|
|
|
|
|
goto point_one; |
|
|
|
|
|
} |
|
|
break; |
|
|
break; |
|
|
default: |
|
|
default: |
|
|
goto point_one; |
|
|
goto point_one; |
|
|