Esempio n. 1
0
        //public Deck GetDeck()
        //{
        //    return deck;
        //}

        public void StartUp()
        {
            numHands    = 1;
            currentHand = 1;
            deck        = new Deck(1);
            //player = new Player();
            playerList = new List <Player>();
            playerList.Add(new Player());
            dealer = new Dealer();
            //intialize money, start with two cards for player and 2 cards with dealer with one face down
            // User can hit until satisfied or busts
            // Dealer then hits until satisfied or busts

            //create instace of deck class and call the shuffle method
            BlackJack.disableHitStand();
            BlackJack.disableBetting();
            BlackJack.initAddMoneyCmbBox();
            //Intilaize money


            //Intialize cards in dealer's and player's hands
            //Deal();
        }