Browse Source

million game - added checkpoint two

main
fdlt3917 2 years ago
parent
commit
544c0b45e7
  1. 17
      src/main/quizproject.c

17
src/main/quizproject.c

@ -1311,8 +1311,10 @@ void play_milliongame() {
printf("--------CHECKPOINT ONE---------\n"); printf("--------CHECKPOINT ONE---------\n");
million_checkpoint = million_reward; million_checkpoint = million_reward;
} }
else if(million_i == 9)
else if(million_i == 9){
printf("--------CHECKPOINT TWO---------\n");
million_checkpoint = million_reward; million_checkpoint = million_reward;
}
else{} else{}
} }
@ -1334,8 +1336,10 @@ void play_milliongame() {
printf("--------CHECKPOINT ONE---------\n"); printf("--------CHECKPOINT ONE---------\n");
million_checkpoint = million_reward; million_checkpoint = million_reward;
} }
else if(million_i == 9)
else if(million_i == 9){
printf("--------CHECKPOINT TWO---------\n");
million_checkpoint = million_reward; million_checkpoint = million_reward;
}
else{} else{}
} }
@ -1354,10 +1358,13 @@ void play_milliongame() {
million_checkpoint = 0; million_checkpoint = 0;
} }
else if(million_i == 4){ else if(million_i == 4){
printf("--------CHECKPOINT ONE---------\n");
million_checkpoint = million_reward; million_checkpoint = million_reward;
} }
else if(million_i == 9)
else if(million_i == 9){
printf("--------CHECKPOINT TWO---------\n");
million_checkpoint = million_reward; million_checkpoint = million_reward;
}
else{} else{}
} }
@ -1379,8 +1386,10 @@ void play_milliongame() {
printf("--------CHECKPOINT ONE---------\n"); printf("--------CHECKPOINT ONE---------\n");
million_checkpoint = million_reward; million_checkpoint = million_reward;
} }
else if(million_i == 9)
else if(million_i == 9){
printf("--------CHECKPOINT TWO---------\n");
million_checkpoint = million_reward; million_checkpoint = million_reward;
}
else{} else{}
} }
else{ else{

Loading…
Cancel
Save