Пример #1
0
        public Game(Rules rules, Agent agent, double pp_multiplier, Random random)
        {
            dealer_hand = new Hand();
            player_handset = new HandSet();
            shoe = new CardSet();

            this.rules = rules;
            this.agent = agent;
            this.pp_multiplier = pp_multiplier;
            this.random = random;

            this.player_money = 0;
            this.bet = rules.MinBet;
            this.split_count = 0;

            party_points = 0;

            ResetShoe();
        }
Пример #2
0
 public DualStrategy(Agent primary, Agent secondary)
 {
     this.primary = primary;
     this.secondary = secondary;
 }