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

            AmplifiedGame aGame = new AmplifiedGame();

            GameRunner.ExecuteTriviaGame(randomWithWrong, aGame);

            return(aGame.GameStatus());
        }
Exemplo 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());
        }
Exemplo 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());
        }