C# Класс TexasHoldem.Logic.Helpers.HandEvaluator

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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