Bet() public abstract méthode

public abstract Bet ( Game game ) : int
game Game
Résultat int
Exemple #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;
        }
Exemple #2
0
 // ask for a bet amount in the beginning of the round
 public override int Bet(Game game)
 {
     return(primary.Bet(game));
 }