Bet() public abstract method

public abstract Bet ( Game game ) : int
game Game
return int
Exemplo n.º 1
0
        public void StartRound()
        {
            dealer_hand.Reset();
            player_handset.Reset();

            // ask the player how much he wants to bet
            bet = agent.Bet(this);

            // collect initial wager from the player
            player_money -= bet;
            AddPartyPoints(bet);

            split_count = 0;
        }
Exemplo n.º 2
0
 // ask for a bet amount in the beginning of the round
 public override int Bet(Game game)
 {
     return(primary.Bet(game));
 }