Bet() public abstract method

public abstract Bet ( Game game ) : int
game Game
return int
コード例 #1
0
ファイル: Game.cs プロジェクト: Luffles/Botting-Library
        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;
        }
コード例 #2
0
 // ask for a bet amount in the beginning of the round
 public override int Bet(Game game)
 {
     return(primary.Bet(game));
 }