예제 #1
0
 public Game(double coins)
 {
     this.player.coins = coins;
     peek = 0;
     for (int i = 0; i < 208; i++)
     {
         cld[i] = RecognisingCard.str_to_card(i % 52);
     }
     diller.cards_for_diller = new infcard[17];
     diller.all_cards_diller = 0;
     startgame++;
     player.bid        = 0;
     diller.kol_diller = player.kol_player = player.win = 0;
     bot = new BotForBlackJack(208);
 }
예제 #2
0
 public Game(int coins)
 {
     this.player.coins = coins;
     peek = 0;
     for (int i = 1; i < 208; i++)
     {
         cld[i - 1] = RecognisingCard.str_to_card(i % 52);
     }
     diller.cards_for_diller = new infcard[17];
     diller.all_cards_diller = 0;
     startgame++;
     player.bid        = 0;
     diller.kol_diller = player.kol_player = 0;
     //bool end_iter_forplayer = true;
 }