Exemplo n.º 1
0
        public void TriviaGameTest()
        {
            GameControl gameControl = GameControl.GetMaintained();

            gameControl.ChooseLayout(1);
            gameControl.PurchaseSecret();
            QuestionCard question = gameControl.GetQuestion();

            Debug.WriteLine("question: " + gameControl.GetQuestion());
            Debug.WriteLine("correct? " + gameControl.AnswerQuestion(question.GiveCorrectAnswer()));
            Debug.WriteLine("State: " + gameControl.DidPlayerWin());
        }