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