A B C D F G H I J L M N P R S T U W Y

A

AbstractLogger - Class in com.bolinfest.prisonerbot.logging
AbstractLogger is...
AbstractLogger() - Constructor for class com.bolinfest.prisonerbot.logging.AbstractLogger
 
AbstractMessageProxy - Class in com.bolinfest.prisonerbot
AbstractMessageProxy is an Abstract implementation of MessageProxy where sendMessage() does not send the message -- it puts the message in a queue of messages to be sent.
AbstractMessageProxy(long) - Constructor for class com.bolinfest.prisonerbot.AbstractMessageProxy
 
AbstractMessageProxy.Message - Class in com.bolinfest.prisonerbot
 
AbstractMessageProxy.Message(Buddy, String) - Constructor for class com.bolinfest.prisonerbot.AbstractMessageProxy.Message
 
AbstractMessageProxy.MessageTask - Class in com.bolinfest.prisonerbot
 
AbstractMessageProxy.MessageTask() - Constructor for class com.bolinfest.prisonerbot.AbstractMessageProxy.MessageTask
 
actuallySendMessage(Buddy, String) - Method in class com.bolinfest.prisonerbot.AbstractMessageProxy
Must be overridden to encode how to send the message through the AIM library being used.
actuallySendMessage(Buddy, String) - Method in class com.bolinfest.prisonerbot.daim.DaimProxy
 
actuallySendMessage(Buddy, String) - Method in class com.bolinfest.prisonerbot.smack.JabberProxy
 
addBuddy(Buddy) - Method in class com.bolinfest.prisonerbot.AbstractMessageProxy
 
addBuddy(Buddy) - Method in class com.bolinfest.prisonerbot.daim.DaimProxy
 
addBuddy(String) - Method in class com.bolinfest.prisonerbot.DefaultManager
 
addBuddy(Buddy) - Method in class com.bolinfest.prisonerbot.ManagerTest.NullProxy
 
addBuddy(Buddy) - Method in interface com.bolinfest.prisonerbot.MessageProxy
adds the buddy to the list of the buddies who can be messaged
addBuddy(Buddy) - Method in class com.bolinfest.prisonerbot.smack.JabberProxy
 
addMatrix(Connection, PayoffMatrix) - Method in class com.bolinfest.prisonerbot.logging.JdbcLogger
 
addPlayer(Connection, String) - Method in class com.bolinfest.prisonerbot.logging.JdbcLogger
 
ASK_NUM_ROUNDS_MESSAGE - Static variable in interface com.bolinfest.prisonerbot.Manager
 
ASK_TO_PLAY_AGAIN_MESSAGE - Static variable in interface com.bolinfest.prisonerbot.Manager
 
ASK_TO_PLAY_MESSAGE - Static variable in interface com.bolinfest.prisonerbot.Manager
 
ASKED_IF_WANTS_TO_PLAY - Static variable in class com.bolinfest.prisonerbot.Buddy
 

B

b1 - Variable in class com.bolinfest.prisonerbot.ManagerTest
 
B1 - Static variable in class com.bolinfest.prisonerbot.ManagerTest
 
b2 - Variable in class com.bolinfest.prisonerbot.ManagerTest
 
B2 - Static variable in class com.bolinfest.prisonerbot.ManagerTest
 
buddies - Variable in class com.bolinfest.prisonerbot.DefaultManager
Each entry represents a Buddy with which this Manager is maintaining a conversation.
buddy - Variable in class com.bolinfest.prisonerbot.AbstractMessageProxy.Message
 
Buddy - Class in com.bolinfest.prisonerbot
Buddy is a dumb class that holds information about a Buddy.
Buddy() - Constructor for class com.bolinfest.prisonerbot.Buddy
 

C

calculatePayoff(Choice, Choice) - Method in interface com.bolinfest.prisonerbot.PayoffMatrix
Get the payoff for a given set of choices.
calculatePayoff(Choice, Choice) - Method in class com.bolinfest.prisonerbot.SimplePayoffMatrix
 
calculateRounds() - Method in class com.bolinfest.prisonerbot.SimpleIterativeGame
override this method to decide how the number of rounds will be determined
CANONICAL_PAYOFF_MATRIX - Static variable in interface com.bolinfest.prisonerbot.PayoffMatrix
The "canonical" payoff matrix where: Mutual cooperation yields 3 points for each player. Successful defection yields 5 points for the defector and 0 points for the cooperator. Mutual defection yields 1 point for each player.
Choice - Class in com.bolinfest.prisonerbot
Choice is a typesafe enumeration of the choices available to each Player.
CHOICE_ALREADY_ENTERED_MESSAGE - Static variable in interface com.bolinfest.prisonerbot.Manager
 
choicesEntered() - Method in class com.bolinfest.prisonerbot.SimpleIterativeGame
 
com.bolinfest.prisonerbot - package com.bolinfest.prisonerbot
A collection of data structures used to describe an iterative Prisoner's Dilemma game.
com.bolinfest.prisonerbot.daim - package com.bolinfest.prisonerbot.daim
Provides the classes to play an iterative Prisoner's Dilemma game via DAIM.
com.bolinfest.prisonerbot.logging - package com.bolinfest.prisonerbot.logging
Contains classes for logging game data in various formats.
com.bolinfest.prisonerbot.smack - package com.bolinfest.prisonerbot.smack
This version of PrisonerBot uses the Smack API for Jabber http://www.jivesoftware.org/smack/
ConfigParser - Class in com.bolinfest.prisonerbot
ConfigParser is a parser for the PrisonerBot configuration file.
CONFUSED_MESSAGE - Static variable in interface com.bolinfest.prisonerbot.Manager
 
ConsoleLogger - Class in com.bolinfest.prisonerbot.logging
ConsoleLogger is...
ConsoleLogger() - Constructor for class com.bolinfest.prisonerbot.logging.ConsoleLogger
 
COOPERATE - Static variable in class com.bolinfest.prisonerbot.Choice
the player chooses to cooperate
createBuddy(String, Manager, ManagerTest.NullProxy) - Static method in class com.bolinfest.prisonerbot.ManagerTest
 
createConfiguration(InputSource) - Static method in class com.bolinfest.prisonerbot.ConfigParser
Returns a new ConfigParser.
createGameOverMessage(Buddy, SimpleIterativeGame) - Static method in class com.bolinfest.prisonerbot.DefaultManager
 
createLastRoundSummary(Buddy, SimpleIterativeGame) - Static method in class com.bolinfest.prisonerbot.DefaultManager
 
createRoundMessage(Buddy, SimpleIterativeGame) - Static method in class com.bolinfest.prisonerbot.DefaultManager
This should return a message telling the player: what round it is what his score is what his opponent's score is
createScoreSummary(Buddy, SimpleIterativeGame) - Static method in class com.bolinfest.prisonerbot.DefaultManager
 

D

DaimMain - Class in com.bolinfest.prisonerbot.daim
DaimMain is the insertion point for PrisonerBot using DAIM.
DaimMain() - Constructor for class com.bolinfest.prisonerbot.daim.DaimMain
 
DaimManager - Class in com.bolinfest.prisonerbot.daim
DaimManager is...
DaimManager(MessageProxy, ICBMTool) - Constructor for class com.bolinfest.prisonerbot.daim.DaimManager
 
DaimProxy - Class in com.bolinfest.prisonerbot.daim
DaimProxy is...
DaimProxy(long, ICBMTool) - Constructor for class com.bolinfest.prisonerbot.daim.DaimProxy
 
DefaultManager - Class in com.bolinfest.prisonerbot
DefaultManager is an implementation of the Manager interface.
DefaultManager(MessageProxy) - Constructor for class com.bolinfest.prisonerbot.DefaultManager
 
DEFECT - Static variable in class com.bolinfest.prisonerbot.Choice
the player chooses to defect
DOES_NOT_EXIST - Static variable in class com.bolinfest.prisonerbot.Buddy
 
DOES_NOT_WANT_TO_PLAY_MESSAGE - Static variable in interface com.bolinfest.prisonerbot.Manager
 

F

FINDING_AN_OPPONENT_MESSAGE - Static variable in interface com.bolinfest.prisonerbot.Manager
 
FOUND_OPPONENT_MESSAGE - Static variable in interface com.bolinfest.prisonerbot.Manager
 

G

GAME_OVER - Static variable in class com.bolinfest.prisonerbot.Buddy
 
GameLogger - Interface in com.bolinfest.prisonerbot.logging
GameLogger is...
gameOver(SimpleIterativeGame) - Method in class com.bolinfest.prisonerbot.DefaultManager
 
games - Variable in class com.bolinfest.prisonerbot.DefaultManager
Maps names of players to the games in which they are involved
getAllPayoffs() - Method in interface com.bolinfest.prisonerbot.PayoffMatrix
 
getAllPayoffs() - Method in class com.bolinfest.prisonerbot.SimplePayoffMatrix
 
getBuddyCount() - Method in class com.bolinfest.prisonerbot.DefaultManager
 
getBuddyCount() - Method in interface com.bolinfest.prisonerbot.Manager
 
getBuddyState() - Method in class com.bolinfest.prisonerbot.Buddy
 
getBuddyStatus(String) - Method in class com.bolinfest.prisonerbot.DefaultManager
 
getBuddyStatus(String) - Method in interface com.bolinfest.prisonerbot.Manager
 
getChoiceId(Choice) - Method in class com.bolinfest.prisonerbot.logging.JdbcLogger
 
getDescription() - Method in interface com.bolinfest.prisonerbot.PayoffMatrix
 
getDescription() - Method in class com.bolinfest.prisonerbot.SimplePayoffMatrix
 
getGame(String) - Method in class com.bolinfest.prisonerbot.DefaultManager
 
getGame(String) - Method in interface com.bolinfest.prisonerbot.Manager
Get an unmodifiable view of the game in which the buddy with this name is involved.
getInfo() - Method in class com.bolinfest.prisonerbot.ConfigParser
 
getIterations() - Method in class com.bolinfest.prisonerbot.SimpleIterativeGame
 
getIterations() - Method in interface com.bolinfest.prisonerbot.UnmodifiableGame
 
getLastIteration() - Method in class com.bolinfest.prisonerbot.SimpleIterativeGame
 
getLastMessageReceived() - Method in class com.bolinfest.prisonerbot.Buddy
 
getLeader() - Method in class com.bolinfest.prisonerbot.SimpleIterativeGame
 
getLeader() - Method in interface com.bolinfest.prisonerbot.UnmodifiableGame
 
getLogger() - Method in class com.bolinfest.prisonerbot.DefaultManager
 
getLogger() - Method in interface com.bolinfest.prisonerbot.Manager
 
getMatrixId(Connection, PayoffMatrix) - Method in class com.bolinfest.prisonerbot.logging.JdbcLogger
 
getName() - Method in class com.bolinfest.prisonerbot.Buddy
 
getName() - Method in interface com.bolinfest.prisonerbot.PayoffMatrix
 
getName() - Method in class com.bolinfest.prisonerbot.SimplePayoffMatrix
 
getNumberOfIterations() - Method in class com.bolinfest.prisonerbot.SimpleIterativeGame
 
getNumberOfIterations() - Method in interface com.bolinfest.prisonerbot.UnmodifiableGame
 
getNumRounds() - Method in class com.bolinfest.prisonerbot.SimpleIterativeGame
 
getNumRoundsProposed() - Method in class com.bolinfest.prisonerbot.SimpleIterativeGame
 
getNumRoundsProposed() - Method in interface com.bolinfest.prisonerbot.UnmodifiableGame
 
getPassword() - Method in class com.bolinfest.prisonerbot.ConfigParser
 
getPayoffMatrix() - Method in class com.bolinfest.prisonerbot.SimpleIterativeGame
 
getPayoffMatrix() - Method in interface com.bolinfest.prisonerbot.UnmodifiableGame
 
getPlayer1Name() - Method in class com.bolinfest.prisonerbot.SimpleIterativeGame
 
getPlayer1Name() - Method in interface com.bolinfest.prisonerbot.UnmodifiableGame
 
getPlayer2Name() - Method in class com.bolinfest.prisonerbot.SimpleIterativeGame
 
getPlayer2Name() - Method in interface com.bolinfest.prisonerbot.UnmodifiableGame
 
getPlayerId(Connection, String) - Method in class com.bolinfest.prisonerbot.logging.JdbcLogger
 
getScore() - Method in class com.bolinfest.prisonerbot.SimpleIterativeGame
 
getScore() - Method in interface com.bolinfest.prisonerbot.UnmodifiableGame
 
getScreenName() - Method in class com.bolinfest.prisonerbot.ConfigParser
 
getSendPeriod() - Method in class com.bolinfest.prisonerbot.ConfigParser
 
getShortName() - Method in class com.bolinfest.prisonerbot.Choice
 
getTimeLastMessageReceived() - Method in class com.bolinfest.prisonerbot.Buddy
 
goToNextRound(SimpleIterativeGame) - Method in class com.bolinfest.prisonerbot.DefaultManager
 

H

handleActivePlayerMessage(Buddy, String) - Method in class com.bolinfest.prisonerbot.DefaultManager
 
handleMessage(String, String) - Method in class com.bolinfest.prisonerbot.DefaultManager
 
handleMessage(String, String) - Method in interface com.bolinfest.prisonerbot.Manager
 
handleNegotiatingRoundsResponse(Buddy, String) - Method in class com.bolinfest.prisonerbot.DefaultManager
 
handleWantsToPlayResponse(Buddy, String) - Method in class com.bolinfest.prisonerbot.DefaultManager
 
hasBuddy(String) - Method in class com.bolinfest.prisonerbot.DefaultManager
 
hasBuddy(String) - Method in interface com.bolinfest.prisonerbot.Manager
 
hasMatrix(Connection, PayoffMatrix) - Method in class com.bolinfest.prisonerbot.logging.JdbcLogger
 
hasPlayer(Connection, String) - Method in class com.bolinfest.prisonerbot.logging.JdbcLogger
 
HELP_MESSAGE - Static variable in interface com.bolinfest.prisonerbot.Manager
 
HTML_PATTERN - Static variable in interface com.bolinfest.prisonerbot.Manager
 

I

IN_GAME - Static variable in class com.bolinfest.prisonerbot.Buddy
 
IN_GAME_WAITING - Static variable in class com.bolinfest.prisonerbot.Buddy
 
incomingICQ(UserInfo, int, int, String) - Method in class com.bolinfest.prisonerbot.daim.DaimManager
 
incomingIM(Buddy, UserInfo, AOLIM) - Method in class com.bolinfest.prisonerbot.daim.DaimManager
 
INSERT_GAME - Static variable in class com.bolinfest.prisonerbot.logging.JdbcLogger
 
INSERT_MATRIX - Static variable in class com.bolinfest.prisonerbot.logging.JdbcLogger
 
INSERT_PLAYER - Static variable in class com.bolinfest.prisonerbot.logging.JdbcLogger
 
INSERT_ROUND - Static variable in class com.bolinfest.prisonerbot.logging.JdbcLogger
 
insertGameTable(Connection, int, int, int, int, int) - Method in class com.bolinfest.prisonerbot.logging.JdbcLogger
 
insertRounds(Connection, int, Iterator) - Method in class com.bolinfest.prisonerbot.logging.JdbcLogger
 
INTRODUCTORY_MESSAGE - Static variable in interface com.bolinfest.prisonerbot.Manager
this includes the ASK_TO_PLAY_MESSAGE
isOpponentAvailable() - Method in class com.bolinfest.prisonerbot.DefaultManager
 
isOpponentAvailable() - Method in interface com.bolinfest.prisonerbot.Manager
 
isTieGame() - Method in class com.bolinfest.prisonerbot.SimpleIterativeGame
 
Iteration - Class in com.bolinfest.prisonerbot
Iteration is a record of one iteration of the Prisoner's Dilemma.
Iteration(Choice, Choice) - Constructor for class com.bolinfest.prisonerbot.Iteration
The choice of each player in a round of the Prisoner's Dilemma

J

JabberProxy - Class in com.bolinfest.prisonerbot.smack
JabberProxy is...
JabberProxy(long) - Constructor for class com.bolinfest.prisonerbot.smack.JabberProxy
 
JdbcLogger - Class in com.bolinfest.prisonerbot.logging
JdbcLogger is...
JdbcLogger(String, String, String) - Constructor for class com.bolinfest.prisonerbot.logging.JdbcLogger
 
joinRoomRequest(JoinRoomRequest) - Method in class com.bolinfest.prisonerbot.daim.DaimManager
 

L

LAST_GAME_ID - Static variable in class com.bolinfest.prisonerbot.logging.JdbcLogger
 
LAST_MATRIX_ID - Static variable in class com.bolinfest.prisonerbot.logging.JdbcLogger
 
LAST_PLAYER_ID - Static variable in class com.bolinfest.prisonerbot.logging.JdbcLogger
 
log(String) - Method in class com.bolinfest.prisonerbot.logging.AbstractLogger
 
log(String) - Method in class com.bolinfest.prisonerbot.logging.ConsoleLogger
 
log(String) - Method in interface com.bolinfest.prisonerbot.logging.GameLogger
 
log(String) - Method in class com.bolinfest.prisonerbot.logging.JdbcLogger
 
logGame(UnmodifiableGame) - Method in class com.bolinfest.prisonerbot.logging.AbstractLogger
 
logGame(UnmodifiableGame) - Method in class com.bolinfest.prisonerbot.logging.ConsoleLogger
 
logGame(UnmodifiableGame) - Method in interface com.bolinfest.prisonerbot.logging.GameLogger
 
logGame(UnmodifiableGame) - Method in class com.bolinfest.prisonerbot.logging.JdbcLogger
 
logGame(Connection, UnmodifiableGame) - Method in class com.bolinfest.prisonerbot.logging.JdbcLogger
 
logger - Variable in class com.bolinfest.prisonerbot.DefaultManager
 

M

main(String[]) - Static method in class com.bolinfest.prisonerbot.daim.DaimMain
 
main(String[]) - Static method in class com.bolinfest.prisonerbot.daim.RateLimitTest
 
Manager - Interface in com.bolinfest.prisonerbot
Manager is the brains of the PrisonerBot operation.
ManagerTest - Class in com.bolinfest.prisonerbot
ManagerTest is a JUnit test of the Manager interface.
ManagerTest() - Constructor for class com.bolinfest.prisonerbot.ManagerTest
 
ManagerTest.NullProxy - Class in com.bolinfest.prisonerbot
NullProxy is a MessageProxy that simulates sending messages online.
ManagerTest.NullProxy() - Constructor for class com.bolinfest.prisonerbot.ManagerTest.NullProxy
 
MAX_ROUNDS - Static variable in interface com.bolinfest.prisonerbot.Manager
the maximum number of rounds to request, inclusive
message - Variable in class com.bolinfest.prisonerbot.AbstractMessageProxy.Message
 
MESSAGE_FROM_OPPONENT_DISCLAIMER - Static variable in interface com.bolinfest.prisonerbot.Manager
 
MessageProxy - Interface in com.bolinfest.prisonerbot
MessageProxy is a class responsible for sending messages to buddies.
messageQueue - Variable in class com.bolinfest.prisonerbot.AbstractMessageProxy
The queue of messages to be sent.
mgr - Variable in class com.bolinfest.prisonerbot.ManagerTest
 
MIN_ROUNDS - Static variable in interface com.bolinfest.prisonerbot.Manager
the minimum number of rounds to request, inclusive
msgContains(String, String) - Static method in class com.bolinfest.prisonerbot.ManagerTest
 

N

NAMES - Static variable in class com.bolinfest.prisonerbot.ManagerTest
 
NEGOTIATING_NUM_ROUNDS - Static variable in class com.bolinfest.prisonerbot.Buddy
 
NO - Static variable in class com.bolinfest.prisonerbot.ManagerTest
 
normalizeName(String) - Static method in class com.bolinfest.prisonerbot.logging.AbstractLogger
Even if an AOL user reformats his or her screen name, this method should reformat it so that it always enter the database the same way -- all lowercase letters without spaces
NUM_ROUNDS_BOUNDS_ERROR_MESSAGE - Static variable in interface com.bolinfest.prisonerbot.Manager
 
NUM_ROUNDS_ENTERED_MESSAGE - Static variable in interface com.bolinfest.prisonerbot.Manager
 
NUM_ROUNDS_NAN_ERROR_MESSAGE - Static variable in interface com.bolinfest.prisonerbot.Manager
 

P

pairUp(Buddy, Buddy) - Method in class com.bolinfest.prisonerbot.DefaultManager
Pair up the two buddies to play a game
password - Variable in class com.bolinfest.prisonerbot.logging.JdbcLogger
 
PayoffMatrix - Interface in com.bolinfest.prisonerbot
PayoffMatrix tells the payoff for each player for every permutation of player choices.
period - Variable in class com.bolinfest.prisonerbot.AbstractMessageProxy
 
player1Choice - Variable in class com.bolinfest.prisonerbot.Iteration
 
player2Choice - Variable in class com.bolinfest.prisonerbot.Iteration
 
proxy - Variable in class com.bolinfest.prisonerbot.DefaultManager
 

R

RateLimitTest - Class in com.bolinfest.prisonerbot.daim
RateLimitTest is a test to determine how many messages an AIM bot can send, given the rate limit enforced by the OSCAR protocol.
RateLimitTest() - Constructor for class com.bolinfest.prisonerbot.daim.RateLimitTest
 
receivedContacts(UserInfo, int, Map, boolean) - Method in class com.bolinfest.prisonerbot.daim.DaimManager
 
receivedICQSMS(UserInfo, int, ICQSMSMessage, boolean) - Method in class com.bolinfest.prisonerbot.daim.DaimManager
 
receivedURL(UserInfo, int, String, String, boolean) - Method in class com.bolinfest.prisonerbot.daim.DaimManager
 
recordChoice(String, Choice) - Method in class com.bolinfest.prisonerbot.SimpleIterativeGame
Record the choice made by the player
recordChoices() - Method in class com.bolinfest.prisonerbot.SimpleIterativeGame
resets the choices and updates the score so game can proceed to next round
removeAllBuddies() - Method in class com.bolinfest.prisonerbot.DefaultManager
 
removeAllBuddies() - Method in interface com.bolinfest.prisonerbot.Manager
 
removeBuddy(String) - Method in class com.bolinfest.prisonerbot.DefaultManager
 
roundsEntered() - Method in class com.bolinfest.prisonerbot.SimpleIterativeGame
Indicates both players have suggested a valid number of rounds to play
run() - Method in class com.bolinfest.prisonerbot.AbstractMessageProxy.MessageTask
 

S

SELECT_MATRIX - Static variable in class com.bolinfest.prisonerbot.logging.JdbcLogger
 
SELECT_PLAYER - Static variable in class com.bolinfest.prisonerbot.logging.JdbcLogger
 
sendChoices(Buddy, Buddy, Choice, Choice) - Static method in class com.bolinfest.prisonerbot.ManagerTest
 
sendMessage(Buddy, String) - Method in class com.bolinfest.prisonerbot.AbstractMessageProxy
Adds the message to the end of the queue of messages to be sent.
sendMessage(Buddy, String) - Method in class com.bolinfest.prisonerbot.DefaultManager
sends the message to the buddy
sendMessage(Buddy, String) - Method in class com.bolinfest.prisonerbot.ManagerTest.NullProxy
 
sendMessage(Buddy, String) - Method in interface com.bolinfest.prisonerbot.MessageProxy
 
sendMessage(Buddy, String) - Method in class com.bolinfest.prisonerbot.smack.JabberProxy
 
setBuddyState(int) - Method in class com.bolinfest.prisonerbot.Buddy
 
setLastMessageReceived(String) - Method in class com.bolinfest.prisonerbot.Buddy
 
setLogger(GameLogger) - Method in class com.bolinfest.prisonerbot.DefaultManager
 
setLogger(GameLogger) - Method in interface com.bolinfest.prisonerbot.Manager
 
setName(String) - Method in class com.bolinfest.prisonerbot.Buddy
 
setNumRoundsProposed(String, int) - Method in class com.bolinfest.prisonerbot.SimpleIterativeGame
 
setTimeLastMessageReceived(long) - Method in class com.bolinfest.prisonerbot.Buddy
 
setUp() - Method in class com.bolinfest.prisonerbot.ManagerTest
Create a Manager to test and some Players
SimpleIterativeGame - Class in com.bolinfest.prisonerbot
SimpleIterativeGame is an abstract data type containing the details of an iterated Prisoner's Dilemma game.
SimpleIterativeGame(String, String, PayoffMatrix) - Constructor for class com.bolinfest.prisonerbot.SimpleIterativeGame
 
SimplePayoffMatrix - Class in com.bolinfest.prisonerbot
SimplePayoffMatrix is a simple PayoffMatrix that can be created from an array of integers.
SimplePayoffMatrix(int, int, int, int, String, String) - Constructor for class com.bolinfest.prisonerbot.SimplePayoffMatrix
This creates a symmetric payoff matrix that conforms to the T > R > P > S principle.
SimplePayoffMatrix(int[][], String, String) - Constructor for class com.bolinfest.prisonerbot.SimplePayoffMatrix
Create a possibly unsymmetric payoff matrix.
SmackManager - Class in com.bolinfest.prisonerbot.smack
SmackManager is...
SmackManager(MessageProxy) - Constructor for class com.bolinfest.prisonerbot.smack.SmackManager
 
stripTags(String) - Static method in class com.bolinfest.prisonerbot.DefaultManager
 

T

tearDown() - Method in class com.bolinfest.prisonerbot.ManagerTest
 
testFourRoundGame() - Method in class com.bolinfest.prisonerbot.ManagerTest
 
testOnePlayerNoGame() - Method in class com.bolinfest.prisonerbot.ManagerTest
Makes sure one player can: chat with the manager get help refuse a game
testOnePlayerWaitGame() - Method in class com.bolinfest.prisonerbot.ManagerTest
Tests that two players can introduce themselves to the bot and start to negotiate the number of rounds.
testPlayerNegotiatingRounds() - Method in class com.bolinfest.prisonerbot.ManagerTest
Players should be able to negotiate rounds and the Manager should be able to handle erroneous input
testStripHtml() - Method in class com.bolinfest.prisonerbot.ManagerTest
 
testZeroPlayers() - Method in class com.bolinfest.prisonerbot.ManagerTest
Make sure manager is initialized correctly.
timer - Variable in class com.bolinfest.prisonerbot.AbstractMessageProxy
 
toString() - Method in class com.bolinfest.prisonerbot.Choice
 
toString() - Method in class com.bolinfest.prisonerbot.Iteration
 
toString() - Method in class com.bolinfest.prisonerbot.SimplePayoffMatrix
 
typingNotification(String, short) - Method in class com.bolinfest.prisonerbot.daim.DaimManager
 

U

UnmodifiableGame - Interface in com.bolinfest.prisonerbot
UnmodifiableGame is an unmodifiable view of a Game.
url - Variable in class com.bolinfest.prisonerbot.logging.JdbcLogger
 
userName - Variable in class com.bolinfest.prisonerbot.logging.JdbcLogger
 

W

WAITING_FOR_OPPONENT - Static variable in class com.bolinfest.prisonerbot.Buddy
 
WAITING_FOR_OPPONENT_CHOICE_MESSAGE - Static variable in interface com.bolinfest.prisonerbot.Manager
 
WAITING_FOR_OPPONENT_NUM_ROUNDS - Static variable in class com.bolinfest.prisonerbot.Buddy
 
waitingToPlay - Variable in class com.bolinfest.prisonerbot.DefaultManager
These are the buddies who are waiting to play a game.

Y

YES - Static variable in class com.bolinfest.prisonerbot.ManagerTest
 

A B C D F G H I J L M N P R S T U W Y