|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Player | |
---|---|
glassfrog.model | |
glassfrog.players | |
glassfrog.server |
Uses of Player in glassfrog.model |
---|
Fields in glassfrog.model with type parameters of type Player | |
---|---|
private java.util.LinkedList<Player> |
Dealer.players
|
Methods in glassfrog.model that return Player | |
---|---|
private Player |
Dealer.getNextPlayer()
This function returns the next active player. |
Methods in glassfrog.model with parameters of type Player | |
---|---|
private java.lang.String |
Dealer.getGameState(Player p)
Get the gamestate for the specified player in the AAAI competition format This is a string representation of the betting, and the private and public cards |
private java.lang.String |
Dealer.getShowdownGameState(Player p)
Get the Full Showdown Gamestate to send to the players at HandOver |
Method parameters in glassfrog.model with type arguments of type Player | |
---|---|
boolean |
Dealer.reconnectPlayers(java.util.LinkedList<Player> players)
Set the players of the game. |
Constructor parameters in glassfrog.model with type arguments of type Player | |
---|---|
Dealer(java.lang.String name,
int numHands,
Gamedef gamedef,
int seed,
java.util.LinkedList<Player> players)
|
Uses of Player in glassfrog.players |
---|
Subclasses of Player in glassfrog.players | |
---|---|
class |
AAAIPlayer
A player used to connect the AAAI bots to the server. |
class |
GUIPlayer
This class allows for the packaged Swordfish GUI to be connected as a Player. |
class |
RandomLimitPlayer
The RandomLimitPlayer is an extention on the RandomPlayer. |
class |
RandomNoLimitPlayer
The RandomNoLimit player class is a version of the RandomPlayer for NoLimit Texas Holdem The Player will perform a random action based on a seed, a random seed or a string of weights ("1,1,1") being the uniform weighted string for f,c,r. |
class |
RandomPlayer
An Abstract class used to define some specific properties about Random Players such as thier RNG and thier fold call and raise weights. |
class |
SocketPlayer
The SocketPlayer class allows for players to connect to the game via socket. |
class |
StringPlayer
A Player used for testing purposes that takes an action string "|" delimited and will play those actions until the string has run out, then it will play the default action of call |
Methods in glassfrog.players with parameters of type Player | |
---|---|
int |
SeatComparator.compare(Player o1,
Player o2)
Compares the seats of the players. |
int |
PositionComparator.compare(Player o1,
Player o2)
Compares the positions of the players. |
int |
HandRankComparator.compare(Player o1,
Player o2)
Used to sort players by hand rank, The higher the rank, the better the hand |
int |
PotCommitedComparator.compare(Player o1,
Player o2)
Used to sort players by thier total commited to pot, lowest to highest |
int |
Player.compareTo(Player o)
Compare the stack size of one player to another. |
Uses of Player in glassfrog.server |
---|
Fields in glassfrog.server with type parameters of type Player | |
---|---|
private java.util.LinkedList<Player> |
Room.players
|
Methods in glassfrog.server with parameters of type Player | |
---|---|
private void |
Room.RoomConnectionHandler.addPlayer(Player newPlayer)
Check to see if the name and the seat are already assigned to a player if so, use the next open seat or assign a random int between 1 and 10 to the player name |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |