Beispiel #1
0
        public void MarkThatUserGotQuestionWrong(object sender, EventArgs e)
        {
            TheTestStats.QuestionsWrong += 1;

            //now you can create a new equation
            TheTestStats.CurrentEquation = EM.CreateEquation();

            CheckIfUserIsDoneWithTest();
        }
Beispiel #2
0
        static void Main(string[] args)
        {
            while (true)
            {
                EquationMaker em = new EquationMaker();
                Equation      eq = em.CreateEquation();

                Console.WriteLine(eq.FullEquation + " " + eq.Answer);
                Console.ReadLine();
            }
        }
Beispiel #3
0
 public void StartTheTest(object sender, StartedTestEventArgs e)
 {
     EM           = new EquationMaker();
     TheTestStats = new TestStats(e.Name, e.Difficulty, EM.CreateEquation(), 5);
     AA           = new AnswerAnalyzer(TheTestStats);
 }