Exemple #1
0
        public void TestGet()
        {
            var question = questionProvider.get();

            Assert.IsNotNull(question);
            Assert.IsNotNull(question.answer);
            Assert.IsNotNull(question.question);
        }
        public void start()
        {
            var task = questionProvider.get();

            gameView.showQuestion(task);

            int count = task.answer.Length;

            string currentGuess = "";

            for (int i = 0; i < count; i++)
            {
                currentGuess = currentGuess + "*";
            }
        }