Uses of Class
poker.Card

Packages that use Card
poker   
 

Uses of Card in poker
 

Methods in poker 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 GameInfo.getBoardCard(int i)
          Obtain the nth card on the table
 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.getLastCard()
           
 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 poker with parameters of type Card
static Action Action.actionFilter(Action a, int seat, Card c1, Card c2, GameInfo gi)
          Do some basic checks to change the action if game conditions warrant it.
 boolean Hand.addCard(Card c)
          Add a card to the hand.
 boolean Hand.contains(Card c)
           
static double HandPotential.CrudePotential1(Card c1, Card c2, Hand board)
          A crude but fast approximation of PPOT.
 boolean Card.equals(Card c)
           
 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)
           
 void GameInfo.flop(Card c1, Card c2, Card c3)
          Proceed to stage FLOP
static java.lang.String Hand.getCardString(Card c1, Card c2)
          Get a string to represent this starting hand (AA, AKs, QJo, ??, etc...)
 double HandEvaluator.handRank(Card c1, Card c2, Hand h)
          Calculates the probability of having the best hand against one opponent.
 double HandEvaluator.handRank(Card c1, Card c2, Hand h, int np)
          Calculates the probability of having the best hand against several opponents.
static double HandEvaluator.handRank(Card c1, Card c2, NChoose2IntTable rankCache, Deck dk)
          Calculate the strength of the given hand.
static double HandEvaluator.handRankNative(Card c1, Card c2, Hand h)
           
 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)
static java.lang.String HandEvaluator.nameHand(Card c1, Card c2, Hand b)
          Given a hand, return a string naming the hand ('Ace High Flush', etc..)
static double[] HandEvaluator.potential(Card c1, Card c2, Hand bd, com.biotools.poker.model.WeightTable wt)
           
 double HandPotential.ppot_raw(Card c1, Card c2, Hand bd, boolean full)
          Calculate the raw (unweighted) PPot and NPot of a hand.
 double HandPotential.ppot(Card c1, Card c2, Hand bd, com.biotools.poker.model.WeightTable w, boolean full)
          Calculate the PPot and NPot of a hand.
static double HandEvaluator.ppot1(Card c1, Card c2, Hand bd, com.biotools.poker.model.WeightTable wt)
           
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 GameInfo.revealHand(int n, Card c1, Card c2)
          Reveal a players hand in a showdown.
 void GameInfo.revealHand(java.lang.String name, Card c1, Card c2)
          Reveal a players hand in a showdown.
 void GameInfo.river(Card c)
          Proceed to stage RIVER
 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.
 void GameInfo.turn(Card c)
          Proceed to stage TURN