Пример #1
0
 public void IncorrectChoice()
 {
     AttemptList.Add(new Attempt {
         QData = QuestionList[QuizIndex], IsCorrect = false
     });
     CurrentPlayer.LivesRemaining -= 1;
     if (CurrentPlayer.LivesRemaining == 0)
     {
         EndGame();
     }
 }
Пример #2
0
 public void CorrectChoice()
 {
     AttemptList.Add(new Attempt {
         QData = QuestionList[QuizIndex], IsCorrect = true
     });
     CurrentPlayer.Score++;
     if (CurrentPlayer.Score == 10)
     {
         WinGame();
     }
 }