HoldemHand.Hand.IsBackdoorFlushDraw C# (CSharp) Method

IsBackdoorFlushDraw() public static method

Returns true if there are three cards of the same suit. The pocket cards must have at least one card in that suit.
public static IsBackdoorFlushDraw ( string pocket, string board, string dead ) : bool
pocket string Players pocket cards
board string Community cards
dead string Dead cards
return bool
        public static bool IsBackdoorFlushDraw(string pocket, string board, string dead)
        {
            #if DEBUG
            if (!Hand.ValidateHand(pocket)) throw new ArgumentException("pocket fails to Validate");
            if (!Hand.ValidateHand(board)) throw new ArgumentException("board fails to Validate");
            #endif
            return IsBackdoorFlushDraw(Hand.ParseHand(pocket), Hand.ParseHand(board), Hand.ParseHand(dead));
        }

Same methods

Hand::IsBackdoorFlushDraw ( ulong pocket, ulong board, ulong dead ) : bool