示例#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 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();
        }