public static bool ProposedRaiseBelow(this GameState gameState, decimal percent) { var stack = (decimal)gameState.GetOurPlayer().Stack; var proposedBet = gameState.GetProposedRaise(); return(proposedBet / stack <= percent); }
public static bool DidBetHigherThanBigBlind(this GameState gameState) { return(gameState.GetOurPlayer().Bet > gameState.Small_Blind * 2); }
public static int GetProposedRaise(this GameState gameState) { return(gameState.Current_Buy_In - gameState.GetOurPlayer().Bet); }
public static int GetMinimumRaiseBet(this GameState gameState) { return(gameState.Current_Buy_In - gameState.GetOurPlayer().Bet + gameState.Minimum_Raise); }