Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
A
C
E
F
G
I
M
N
P
R
S
T
A
allCards
- Static variable in class
Card
C
Card
- Class in
<Unnamed>
Card - Simple playing card class.
Card(int, int)
- Constructor for class
Card
Create a card with the given rank and suit.
cardMap
- Static variable in class
Card
E
equals(Card)
- Method in class
Card
F
FlushPokerSquaresPlayer
- Class in
<Unnamed>
FlushPokerSquaresPlayer - a simple example implementation of the player interface for PokerSquares that only seeks to form vertical flushes.
FlushPokerSquaresPlayer()
- Constructor for class
FlushPokerSquaresPlayer
G
GAME_MILLIS
- Static variable in class
PokerSquares
getHandScore(Card[])
- Static method in class
PokerSquares
Get the score of the given Card hand.
getHandScores(Card[][])
- Static method in class
PokerSquares
Get an int array with the individual hand scores of rows 0 through 4 followed by columns 0 through 4.
getPlay(Card, long)
- Method in class
FlushPokerSquaresPlayer
getPlay(Card, long)
- Method in interface
PokerSquaresPlayer
getPlay - gets the current play position for a given card within the allotted number of milliseconds.
getPlay(Card, long)
- Method in class
RandomPokerSquaresPlayer
getRank()
- Method in class
Card
Get Card rank.
getScore(Card[][])
- Static method in class
PokerSquares
Get the score of the given Card grid.
getSuit()
- Method in class
Card
Get Card suit.
I
init()
- Method in class
FlushPokerSquaresPlayer
init()
- Method in interface
PokerSquaresPlayer
init - initializes the player before each game
init()
- Method in class
RandomPokerSquaresPlayer
M
main(String[])
- Static method in class
Card
Print all card objects.
main(String[])
- Static method in class
FlushPokerSquaresPlayer
main(String[])
- Static method in class
PokerSquares
Demonstrate testing of a PokerSquaresPlayer.
main(String[])
- Static method in class
RandomPokerSquaresPlayer
N
NUM_RANKS
- Static variable in class
Card
NUM_SUITS
- Static variable in class
Card
P
play()
- Method in class
PokerSquares
Play a game of Poker Squares with the given PokerSquaresPlayer and time limit, returning the game score.
plays
- Variable in class
RandomPokerSquaresPlayer
playSequence(int, long, boolean)
- Method in class
PokerSquares
Play a sequence of games, collecting and reporting statistics.
PokerSquares
- Class in
<Unnamed>
PokerSquares(PokerSquaresPlayer, long)
- Constructor for class
PokerSquares
PokerSquaresPlayer
- Interface in
<Unnamed>
PokerSquaresPlayer - a simple player interface for PokerSquares.
printGrid(Card[][])
- Static method in class
PokerSquares
Print the current game grid and score.
R
RandomPokerSquaresPlayer
- Class in
<Unnamed>
RandomPokerSquaresPlayer - a simple example implementation of the player interface for PokerSquares that makes random placements.
RandomPokerSquaresPlayer()
- Constructor for class
RandomPokerSquaresPlayer
rankNames
- Static variable in class
Card
S
scoreTest()
- Static method in class
PokerSquares
Test the correctness of scoring code.
setSeed(long)
- Method in class
PokerSquares
Set the seed of the game pseudorandom number generator.
SIZE
- Static variable in class
PokerSquares
suitNames
- Static variable in class
Card
T
toString()
- Method in class
Card
A
C
E
F
G
I
M
N
P
R
S
T
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes