Esempio n. 1
0
 public void CheckGameWinner()
 {
     if (player1.GetScore() == 2)
     {
         DisplayWinner(player1.GetName());
     }
     else if (player2.GetScore() == 2)
     {
         DisplayWinner(player2.GetName());
     }
     else
     {
         PlayRound();
     }
 }