HoldemHand.Hand.IsBackdoorFlushDraw C# (CSharp) 메소드

IsBackdoorFlushDraw() 공개 정적인 메소드

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
리턴 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