//Executes a unit test of class Card. static void testCard() { Console.WriteLine("Test Card:"); Card c1 = new Card(Count.Ace, Suit.Hearts); Console.WriteLine("Card {0} has value {1}", c1.ToString(), c1.BJvalue()); }
/// <summary> /// This method will add cards to the hand. /// </summary> /// <param name="c"></param> public void add(Card c) { h.Add(c); }
public void add(Card c) { throw new NotImplementedException(); }
/// <summary> /// Method to add card to Human player's hand. /// </summary> /// <param name="c"></param> public void getsCard(Card c) { h.add(c); //throw new NotImplementedException(); }
/// <summary> /// Adds a card to the players hand. /// </summary> /// <param name="c">The card to be added to the player's hand.</param> public void getsCard(Card c) { h.add(c); cardCounter++; }
/// <summary> /// Adds a card to the players hand. /// </summary> /// <param name="c">The card to be added to the player's hand.</param> public void getsCard(Card c) { h.add(c); }