Browse Source

added a loop to end game after 3 wins RockPprScs

main
fdlt3859 2 years ago
parent
commit
beebe3fa92
  1. 5
      src/main/quizproject.c

5
src/main/quizproject.c

@ -1853,7 +1853,10 @@ void v_play_rockpapersciss(){
{
printf("Invalid choice!\n");
}
if (player_score == 3 || computer_score == 3)
{
break;
}
}
}

Loading…
Cancel
Save