|
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of Hand in ca.ualberta.cs.poker |
---|
Methods in ca.ualberta.cs.poker that return Hand | |
---|---|
Hand |
HandEvaluator.getBest5CardHand(Hand h)
Get the best 5 card poker hand from a 7 card hand |
Methods in ca.ualberta.cs.poker with parameters of type Hand | |
---|---|
int |
HandEvaluator.compareHands(Hand h1,
Hand h2)
Compares two hands against each other. |
int |
HandEvaluator.compareHands(int rank1,
Hand h2)
Compares two 5-7 card hands against each other. |
void |
Deck.extractHand(Hand h)
Remove all cards in the given hand from the Deck. |
Hand |
HandEvaluator.getBest5CardHand(Hand h)
Get the best 5 card poker hand from a 7 card hand |
int[][] |
HandEvaluator.getRanks(Hand board)
Given a board, cache all possible two card combinations of hand ranks, so that lightenting fast hand comparisons may be done later. |
static java.lang.String |
HandEvaluator.nameHand(Hand h)
Given a hand, return a string naming the hand ('Ace High Flush', etc..) |
int |
HandEvaluator.rankHand(Card c1,
Card c2,
Hand h)
Get a numerical ranking of this hand. |
static int |
HandEvaluator.rankHand(Hand h)
Get a numerical ranking of this hand. |
Constructors in ca.ualberta.cs.poker with parameters of type Hand | |
---|---|
Hand(Hand h)
Duplicate an existing hand. |
|
|||||||||
PREV NEXT | FRAMES NO FRAMES |