Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV LETTER
NEXT LETTER
FRAMES
NO FRAMES
All Classes
A
B
C
D
E
F
G
H
I
J
K
L
M
N
P
Q
R
S
T
U
V
W
G
GameInfo
- Class in
poker
Stores all of the info defining a single game of poker.
GameInfo()
- Constructor for class poker.
GameInfo
Default Constructor
GameObserver
- Interface in
poker
An interface for a poker game observer.
gameOver()
- Method in class poker.
GameInfo
Report the end of the game and log player and game history.
gameOverEvent()
- Method in interface poker.
GameObserver
The hand is now over.
gameStartEvent(GameInfo)
- Method in interface poker.
GameObserver
The hand is starting
gameStateChanged()
- Method in interface poker.
GameObserver
The game info state has been updated Called after an action event has been fully processed
get(int, int)
- Method in class poker.util.
NChoose2IntTable
Obtain the value linking elements x and y
getAction(int, double, double)
- Static method in class poker.
Action
Create an action from classic values.
getAction()
- Method in interface poker.
Player
Requests an Action from the player Called when it is the Player's turn to act.
getActionIndex()
- Method in class poker.
Action
Convert an update action to a general action {fold,call,raise} or -1 if not a normal voluntary action.
getAmount()
- Method in class poker.
Action
getAmountCallable()
- Method in class poker.
PlayerInfo
getAmountInPot()
- Method in class poker.
PlayerInfo
Obtain the amount the player has put in the pot.
getAmountInPotThisRound()
- Method in class poker.
PlayerInfo
Obtain the amount the player has put in the pot.this round
getAmountRaiseable()
- Method in class poker.
PlayerInfo
getAmountToCall(int)
- Method in class poker.
GameInfo
Get the amount a player must call to stay in
getAmountToCall()
- Method in class poker.
PlayerInfo
Determine the amount a player must pay to stay in the game
getAnte()
- Method in class poker.
GameInfo
Get the ante amount for the game
getBankRoll()
- Method in class poker.
PlayerInfo
getBankRollInSmallBets()
- Method in class poker.
PlayerInfo
getBest5CardHand(Hand)
- Static method in class poker.
HandEvaluator
Get the best 5 card poker hand from a 7 card hand
getBetList()
- Method in class poker.
GameInfo
A list containing the size of each bet/raise made through the hand.
getBetSize()
- Method in class poker.
GameInfo
Get the current size of the bet.
getBetsToCall(int)
- Method in class poker.
GameInfo
Get the number of bets a player must call to stay in
getBigBet()
- Method in class poker.
GameInfo
Get the size of a big bet (usually double the big-blind).
getBigBlindSeat()
- Method in class poker.
GameInfo
getBigBlindSize()
- Method in class poker.
GameInfo
Get the size of a big blind.
getBoard()
- Method in class poker.
GameInfo
obtain a Hand containing the board cards.
getBoardCard(int)
- Method in class poker.
GameInfo
Obtain the nth card on the table
getBooleanPreference(String)
- Method in class poker.util.
Preferences
given a key preference name, obtain its value as a boolean value.
getBooleanPreference(String, boolean)
- Method in class poker.util.
Preferences
given a key preference name, obtain its value as a boolean value.
getButton()
- Method in class poker.
GameInfo
getCard(int)
- Method in class poker.
Deck
Obtain the card at a specific index in the deck.
getCard(int)
- Method in class poker.
Hand
Get the specified card in the hand
getCardArray()
- Method in class poker.
Hand
Obtain the array of card indexes for this hand.
getCardIndex(int)
- Method in class poker.
Hand
Get the specified card id
getCardString(Card, Card)
- Static method in class poker.
Hand
Get a string to represent this starting hand (AA, AKs, QJo, ??, etc...)
getCardThatPlays(int, int)
- Static method in class poker.
HandEvaluator
Return the Card that plays between the two given hands ranks.
getCurrentPlayerInfo()
- Method in class poker.
GameInfo
getCurrentPlayerName()
- Method in class poker.
GameInfo
getCurrentPlayerSeat()
- Method in class poker.
GameInfo
getDoublePreference(String, double)
- Method in class poker.util.
Preferences
given a key preference name, obtain its value as an int.
getDoublePreference(String)
- Method in class poker.util.
Preferences
given a key preference name, obtain its value as an int.
getEligiblePot(int)
- Method in class poker.
GameInfo
Get the amount in the pot, a player is eligble for
getFile()
- Method in class poker.util.
Preferences
getFileName()
- Method in class poker.util.
Preferences
getFirstPlayerAfterButton()
- Method in class poker.
GameInfo
Find the seat of the first player in the game after the button.
getFirstPlayerWithMostIn()
- Method in class poker.
GameInfo
Find the first player who has the most invested in the pot.
getGameInfo()
- Method in class poker.
PlayerInfo
Get the context of the last action made by this player.
getHandClass(Hand)
- Static method in class poker.
HandEvaluator
Get the class of hand (PAIR, STRAIGHT)
getHandRanks()
- Method in class poker.
GameInfo
Returns a 52x52 array of hand rank values for every hand against the current board;
getID()
- Method in class poker.
GameInfo
getIndex()
- Method in class poker.
Card
Return the integer index for this card.
getIntPreference(String)
- Method in class poker.util.
Preferences
given a key preference name, obtain its value as an int.
getIntPreference(String, int)
- Method in class poker.util.
Preferences
given a key preference name, obtain its value as an int.
getLastAction()
- Method in class poker.
PlayerInfo
A single integer code for the last action made
getLastActionCode()
- Method in class poker.
PlayerInfo
A single integer code for the last action made
getLastAmountCalled()
- Method in class poker.
PlayerInfo
Get the amount called by this player during his last action
getLastBetsToCall()
- Method in class poker.
PlayerInfo
Obtain the amount of bets the player had to call during their last action.
getLastCard()
- Method in class poker.
Hand
getLastNPot()
- Method in class poker.
HandPotential
obtain the PPot calculated during the last call to npot.
getLastPPot()
- Method in class poker.
HandPotential
obtain the PPot calculated during the last call to ppot.
getLongPreference(String, long)
- Method in class poker.util.
Preferences
given a key preference name, obtain its value as an int.
getMainPot()
- Method in class poker.
GameInfo
Get the main Pot object.
getMaximumRisk()
- Method in class poker.
PlayerInfo
The maximum we can risk in the hand.
getMinRaise()
- Method in class poker.
GameInfo
Get the minimum raise amount.
getName()
- Method in class poker.
PlayerInfo
obtain the player's name
getNetGain()
- Method in class poker.
PlayerInfo
getNumActivePlayers()
- Method in class poker.
GameInfo
getNumActivePlayersNotAllIn()
- Method in class poker.
GameInfo
Get the number of players in the hand that still have chips
getNumberOfAllInPlayers()
- Method in class poker.
GameInfo
Get the number of players in the hand who are all-in.
getNumBetter()
- Method in class poker.
HandEvaluator
Get the number of hands better than the last hand ranked.
getNumCardsPlayed(int, int)
- Static method in class poker.
HandEvaluator
Return the number of Cards that play between the two given hands ranks.
getNumPlayers()
- Method in class poker.
GameInfo
getNumPlayersWithChips()
- Method in class poker.
GameInfo
Get the number of players with chips left
getNumPots()
- Method in class poker.
Pot
getNumRaises()
- Method in class poker.
GameInfo
getNumSeats()
- Method in class poker.
GameInfo
The number of seats at the table.
getNumTied()
- Method in class poker.
HandEvaluator
Get the number of hands tied with the last hand ranked.
getNumToAct()
- Method in class poker.
GameInfo
Get the number of players left to act in the betting round.
getNumWinners()
- Method in class poker.
GameInfo
getNumWorse()
- Method in class poker.
HandEvaluator
Get the number of hands worse than the last hand ranked.
getPlayerInfo(int)
- Method in class poker.
GameInfo
Get a PlayerInfo by seat number
getPlayerInfo(String)
- Method in class poker.
GameInfo
Given a name, obtain the PlayerInfo object for that player
getPlayerName(int)
- Method in class poker.
GameInfo
Get the player's name from a position
getPlayerSeat(String)
- Method in class poker.
GameInfo
From a name, find out a player's position
getPlayersInPot(double)
- Method in class poker.
GameInfo
Get the number of players eligible to win the pot where the stakes for the pot are below the given amount.
getPosition()
- Method in class poker.
PlayerInfo
Deprecated.
use getSeat() instead
getPot()
- Method in class poker.
GameInfo
Get the total size of the pot, including all side pots
getPots()
- Method in class poker.
Pot
getPreference(String, String)
- Method in class poker.util.
Preferences
given a key preference name, obtain its value.
getPreference(String)
- Method in class poker.util.
Preferences
given a key preference name, obtain its value.
getRaiseAmount(double)
- Method in class poker.
GameInfo
Return the amount the current player can raise, given the desired amount to raise.
getRaiseAmount(double)
- Method in class poker.
PlayerInfo
Return the amount the player can raise, given the desired amount to raise.
getRake()
- Method in class poker.
GameInfo
Get the amount raked from the pot
getRandomizer()
- Static method in class poker.util.
Randomizer
Static method to return a static Randomizer stream that can be shared by everything that wants to use it.
getRank()
- Method in class poker.
Card
Obtain the rank of this card
getRank(int)
- Static method in class poker.
Card
Obtain the rank of this card
getRankChar(int)
- Static method in class poker.
Card
getRankFromChar(char)
- Static method in class poker.
Card
getRanks(Hand)
- Static method in class poker.
HandEvaluator
Given a board, cache all possible two card combinations of hand ranks, so that lightenting fast hand comparisons may be done later.
getRanksNative(Hand)
- Static method in class poker.
HandEvaluator
getRankTable(Hand, String)
- Method in class poker.
GameInfo
getRevealedHand()
- Method in class poker.
PlayerInfo
Obtain the hand revealed by this player
getSeat()
- Method in class poker.
PlayerInfo
Get our seat number in the GameInfo
getSequence()
- Method in class poker.
GameInfo
Get the entire betting sequence of the hand.
getSidePot()
- Method in class poker.
Pot
getSize()
- Method in class poker.
Pot
getSmallBet()
- Method in class poker.
GameInfo
Get the size of a small bet (the big-blind).
getSmallBlindSeat()
- Method in class poker.
GameInfo
getSmallBlindSize()
- Method in class poker.
GameInfo
Get the size of a small blind.
getStage()
- Method in class poker.
GameInfo
getStakes()
- Method in class poker.
GameInfo
Obtain the total amount players must have in the pot to stay in
getSuit(int)
- Static method in class poker.
Card
Obtain the suit of this card
getSuit()
- Method in class poker.
Card
Obtain the suit of this card
getSuitChar(int)
- Static method in class poker.
Card
Given an integer suit value {0...3}, returns a character representation of it {h,d,c,s}
getSuitFromChar(char)
- Static method in class poker.
Card
Converts a suit character into its integer representation.
getThreshold()
- Method in class poker.
Pot
getToCall()
- Method in class poker.
Action
getTopCard()
- Method in class poker.
Deck
Get the first card in the deck
getTopCardIndex()
- Method in class poker.
Deck
Obtain the position of the top card.
getType()
- Method in class poker.
Action
getUnacted()
- Method in class poker.
GameInfo
Obtain the number of opponents who have not yet acted in this betting round.
getValue(int)
- Method in class poker.util.
NChoose2IntTable
Get the value at the given index.
getValues()
- Method in class poker.util.
NChoose2IntTable
getWinners()
- Method in class poker.
GameInfo
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV LETTER
NEXT LETTER
FRAMES
NO FRAMES
All Classes
A
B
C
D
E
F
G
H
I
J
K
L
M
N
P
Q
R
S
T
U
V
W