Make a new variable called player_overall_score. Make another called CPU_overall_score.
Make another variable called round.
If playerScore = 7, add 1 to player_overall_score and add 1 to round.
Do the same but with CPU score variables.
If player_overall_score > CPU_overall_score and round > 3, run player win code. Do the same but opposite so that the CPU can win.
Does that fix it?