Esempio n. 1
0
        private object ExecuteTriviaGameWithIncrementalValues(int empty)
        {
            var randomWithWrong = Builder.RandomIncrementalValues.Build();

            AmplifiedGame aGame = new AmplifiedGame();

            GameRunner.ExecuteTriviaGame(randomWithWrong, aGame);

            return(aGame.GameStatus());
        }
Esempio n. 2
0
        private object ExecuteTriviaGameWithWrongAnswers(int diceValue, int successValue)
        {
            var randomWithWrong = Builder.RandomWithWrong
                                  .WithDiceValue(diceValue)
                                  .Build();

            AmplifiedGame aGame = new AmplifiedGame();

            GameRunner.ExecuteTriviaGame(randomWithWrong, aGame);

            return(aGame.GameStatus());
        }
Esempio n. 3
0
        private object ExecuteTriviaGame(int diceValue, int successValue)
        {
            var randomResult = Builder.Random
                               .WithDiceValue(diceValue)
                               .WithSuccessValue(successValue)
                               .Build();

            AmplifiedGame aGame = new AmplifiedGame();

            GameRunner.ExecuteTriviaGame(randomResult, aGame);

            return(aGame.GameStatus());
        }