Beispiel #1
0
 public static void PlayGeneralKnowledgeGame(GeneralKnowledge argGeneralKnowledge, CalculationEngine calculation)
 {
     // apply C# calculations
     calculation.CalculateScore(argGeneralKnowledge.questionsList, argGeneralKnowledge.answerListCorrect,
                                argGeneralKnowledge.answerListIncorrect1, argGeneralKnowledge.answerListIncorrect2, argGeneralKnowledge.answerListIncorrect3);
 }
Beispiel #2
0
 public static void PlayCsharpGame(CSharpQuestionAndAnswer argCsharp, CalculationEngine calculation)
 {
     // apply C# calculations
     calculation.CalculateScore(argCsharp.questionsList, argCsharp.answerListCorrect,
                                argCsharp.answerListIncorrect1, argCsharp.answerListIncorrect2, argCsharp.answerListIncorrect3);
 }