diff --git a/src/main/quizproject.c b/src/main/quizproject.c index f172df5..78e4d22 100644 --- a/src/main/quizproject.c +++ b/src/main/quizproject.c @@ -1853,7 +1853,10 @@ void v_play_rockpapersciss(){ { printf("Invalid choice!\n"); } - + if (player_score == 3 || computer_score == 3) + { + break; + } } }