|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Card | |
---|---|
com.biotools.meerkat |
Uses of Card in com.biotools.meerkat |
---|
Methods in com.biotools.meerkat that return Card | |
---|---|
Card |
Deck.deal()
Obtain the next card in the deck. |
Card |
Deck.dealCard()
Obtain a random card from the deck. |
Card |
Deck.extractRandomCard()
Remove and return a randomly selected card from within the deck. |
Card |
Hand.getCard(int pos)
Get the specified card in the hand |
Card |
Deck.getCard(int i)
Obtain the card at a specific index in the deck. |
Card |
Hand.getFirstCard()
Accessor for hole card simplicity. |
Card |
Hand.getLastCard()
|
Card |
Hand.getSecondCard()
Accessor for hole card simplicity. |
Card |
Deck.getTopCard()
Get the first card in the deck |
Card |
Deck.pickRandomCard()
Return a randomly selected card from within the deck without removing it. |
Methods in com.biotools.meerkat with parameters of type Card | |
---|---|
boolean |
Hand.addCard(Card c)
Add a card to the hand. |
boolean |
Hand.contains(Card c)
See if the hand contains a card |
boolean |
Card.equals(Card c)
See if two cards are the same rank and suit |
void |
Deck.extractCard(Card c)
Remove a card from within the deck. |
int |
Deck.findCard(Card c)
Find position of Card in Deck. |
int |
Deck.findDiscard(Card c)
|
static java.lang.String |
Hand.getCardString(Card c1,
Card c2)
Get a string to represent this starting hand (AA, AKs, QJo, ??, etc...) |
static double |
HandEvaluator.handRank(Card c1,
Card c2,
Hand h)
Calculates the probability of currently having the best hand against one random opponent. |
static double |
HandEvaluator.handRank(Card c1,
Card c2,
Hand h,
int np)
Calculates the probability of having the best hand against several random opponents. |
static double |
HandEvaluator.handRank(Card c1,
Card c2,
NChoose2IntTable rankCache,
Deck dk)
Calculate the strength of the given hand. |
void |
Player.holeCards(Card c1,
Card c2,
int seat)
receive your hole cards |
boolean |
Deck.inDeck(Card c)
See if a card is in the deck, or if it has been dealt. |
static boolean |
HandEvaluator.isTheNuts(Card c1,
Card c2,
Hand board,
NChoose2IntTable rankCache)
Determine if the hand is the nuts (no hands beat it) Does not consider draws, only the immediate conditions. |
static int |
HandEvaluator.rankHand(Card c1,
Card c2,
Hand h)
Get a numerical ranking of this hand. |
void |
Deck.replaceCard(Card c)
Place a card back into the deck. |
void |
Hand.setCard(int pos,
Card c)
Set the card at pos to the given card |
void |
GameObserver.showdownEvent(int pos,
Card c1,
Card c2)
Player pos has shown two cards. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |