Example #1
0
        /// <summary>
        /// Roll the dice in order to receive custom number of random generated numbers.
        /// </summary>
        /// <param name="how_many_die">How many die do you wish to roll?</param>
        /// <returns>Array with custom number of random generated numbers<</returns>
        public int[] Player_Roll(int how_many_die)
        {
            Die myDie = new Die();

            return(myDie.Roll(how_many_die));
        }
Example #2
0
        /// <summary>
        /// Roll the die.
        /// </summary>
        /// <returns>Array with 5 random integer values</returns>
        public int[] Player_Roll()
        {
            Die myDie = new Die();

            return(myDie.Roll());
        }