Exemplo n.º 1
0
 // constructor
 public BlackjackDealer(AccessFormControls form)
 {
     id            = 4;
     form_controls = form;
     deck.shuffle();
     current_card = 0;
 }
Exemplo n.º 2
0
 // constructor
 public BlackjackDealer(AccessFormControls form)
 {
     id = 4;
     form_controls = form;
     deck.shuffle();
     current_card = 0;
 }
Exemplo n.º 3
0
        public BlackjackDealer dealer;// BlackJackDealer controls the game
        
        // contstructor
        public BlackjackGame(AccessFormControls form) {
            // access functions in form class
            form_controls = form;

            // create the dealer
            dealer = new BlackjackDealer(form);

            // create the players
            players = new List<BlackjackPlayer>();

            GameOver = false;
        }
Exemplo n.º 4
0
        public BlackjackDealer dealer;         // BlackJackDealer controls the game

        // contstructor
        public BlackjackGame(AccessFormControls form)
        {
            // access functions in form class
            form_controls = form;

            // create the dealer
            dealer = new BlackjackDealer(form);

            // create the players
            players = new List <BlackjackPlayer>();

            GameOver = false;
        }