C# 클래스 TexasHoldem.Logic.Helpers.HandEvaluator

파일 보기 프로젝트 열기: NikolayIT/TexasHoldemGameEngine 1 사용 예제들

공개 메소드들

메소드 설명
GetBestHand ( IEnumerable cards ) : BestHand

Finds the best possible hand given a player's cards and all revealed comunity cards.

비공개 메소드들

메소드 설명
GetStraightCards ( int cardTypeCounts ) : ICollection
GetStraightFlushCards ( int cardSuitCounts, IEnumerable cards ) : ICollection
GetTypesWithNCards ( int cardTypeCounts, int n ) : IList

메소드 상세

GetBestHand() 공개 메소드

Finds the best possible hand given a player's cards and all revealed comunity cards.
public GetBestHand ( IEnumerable cards ) : BestHand
cards IEnumerable A player's cards + all revealed comunity cards (at lesat 5 in total)
리턴 BestHand