示例#1
0
 public Game(int coins)
 {
     player = new PlayerInf(coins);
     peek   = 0;
     for (int i = 1; i < 208; i++)
     {
         cld[i - 1] = RecognisingCard.StrToCard(i % 52);
     }
     diller = new DillerInf();
     startgame++;
 }
示例#2
0
 public Game(double coins)
 {
     player = new PlayerInf(coins);
     peek   = 0;
     for (int i = 0; i < 208; i++)
     {
         cld[i] = RecognisingCard.StrToCard(i % 52);
     }
     diller = new DillerInf();
     startgame++;
     bot = new BotForBlackJack(208);
 }
示例#3
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);
 }
示例#4
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;
 }