public static void Main()
Deck theDeck = new Deck(new int[] {1,2,3,4,5,6,7,8,9,10,
1,2,3,4,5,6,7,8,9,10,
1,2,3,4,5,6,7,8,9,10,
int[] hand = {0,0,0,0,0,0,0,0,0,0};
hand[currentCard] = theDeck.drawCard();
Console.WriteLine("Current card: " + hand[currentCard]);
foreach (int card in hand){
Console.WriteLine("Hand Total: " + handTotal);
Console.WriteLine("You win.");
Console.WriteLine("You Lose.");
Console.WriteLine("Remaining Cards: " + theDeck.remainingCards());
public int[] cards { get; set; }
public Deck(int[] myCards)
selector = rand.Next(40);
public int remainingCards()
foreach (int card in cards)