public void MarkThatUserGotQuestionWrong(object sender, EventArgs e) { TheTestStats.QuestionsWrong += 1; //now you can create a new equation TheTestStats.CurrentEquation = EM.CreateEquation(); CheckIfUserIsDoneWithTest(); }
static void Main(string[] args) { while (true) { EquationMaker em = new EquationMaker(); Equation eq = em.CreateEquation(); Console.WriteLine(eq.FullEquation + " " + eq.Answer); Console.ReadLine(); } }
public void StartTheTest(object sender, StartedTestEventArgs e) { EM = new EquationMaker(); TheTestStats = new TestStats(e.Name, e.Difficulty, EM.CreateEquation(), 5); AA = new AnswerAnalyzer(TheTestStats); }