C# Class Poker.PokerHandsChecker

Inheritance: IPokerHandsChecker
Afficher le fichier Open project: nzhul/TelerikAcademy Class Usage Examples

Méthodes publiques

Méthode Description
CompareHands ( IHand firstHand, IHand secondHand ) : int
IsFlush ( IHand hand ) : bool
IsFourOfAKind ( IHand hand ) : bool
IsFullHouse ( IHand hand ) : bool
IsHighCard ( IHand hand ) : bool
IsOnePair ( IHand hand ) : bool
IsStraight ( IHand hand ) : bool
IsStraightFlush ( IHand hand ) : bool
IsThreeOfAKind ( IHand hand ) : bool
IsTwoPair ( IHand hand ) : bool
IsValidHand ( IHand hand ) : bool

Method Details

CompareHands() public méthode

public CompareHands ( IHand firstHand, IHand secondHand ) : int
firstHand IHand
secondHand IHand
Résultat int

IsFlush() public méthode

public IsFlush ( IHand hand ) : bool
hand IHand
Résultat bool

IsFourOfAKind() public méthode

public IsFourOfAKind ( IHand hand ) : bool
hand IHand
Résultat bool

IsFullHouse() public méthode

public IsFullHouse ( IHand hand ) : bool
hand IHand
Résultat bool

IsHighCard() public méthode

public IsHighCard ( IHand hand ) : bool
hand IHand
Résultat bool

IsOnePair() public méthode

public IsOnePair ( IHand hand ) : bool
hand IHand
Résultat bool

IsStraight() public méthode

public IsStraight ( IHand hand ) : bool
hand IHand
Résultat bool

IsStraightFlush() public méthode

public IsStraightFlush ( IHand hand ) : bool
hand IHand
Résultat bool

IsThreeOfAKind() public méthode

public IsThreeOfAKind ( IHand hand ) : bool
hand IHand
Résultat bool

IsTwoPair() public méthode

public IsTwoPair ( IHand hand ) : bool
hand IHand
Résultat bool

IsValidHand() public méthode

public IsValidHand ( IHand hand ) : bool
hand IHand
Résultat bool