コード例 #1
0
ファイル: Game.cs プロジェクト: garberit/BlackJack1M
        /// <summary>
        /// Creates a list to store dealer's cards
        /// </summary>
        /// <returns>Returns a new list to store the dealer's cards</returns>
        public static List <Card> DealerHand()
        {
            PlayerHand dealerHand = new PlayerHand();

            return(dealerHand.PlayersHand);
        }
コード例 #2
0
ファイル: Game.cs プロジェクト: garberit/BlackJack1M
        /// <summary>
        /// Creates a list to store player's cards
        /// </summary>
        /// <returns>Returns a new list to store the player's cards</returns>
        public static List <Card> UserHand()
        {
            PlayerHand userHand = new PlayerHand();

            return(userHand.PlayersHand);
        }