|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectca.ualberta.cs.poker.free.client.PokerClient
ca.ualberta.cs.poker.free.client.RandomPokerClient
public class RandomPokerClient
Plays actions uniformly at random. Useful for debugging purposes.
Field Summary |
---|
Fields inherited from class ca.ualberta.cs.poker.free.client.PokerClient |
---|
currentGameStateString |
Constructor Summary | |
---|---|
RandomPokerClient()
Creates a new instance of RandomPokerClient |
Method Summary | |
---|---|
void |
handleStateChange()
Chooses an action uniformly at random using an internal secure random number generator. |
static void |
main(java.lang.String[] args)
|
Methods inherited from class ca.ualberta.cs.poker.free.client.PokerClient |
---|
close, connect, getClientID, isComplete, receiveMessage, run, sendAction, sendCall, sendFold, sendMessage, sendRaise, setVerbose, showVerbose |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RandomPokerClient()
Method Detail |
---|
public void handleStateChange() throws java.io.IOException, java.net.SocketException
handleStateChange
in class PokerClient
java.io.IOException
java.net.SocketException
public static void main(java.lang.String[] args) throws java.lang.Exception
args
- the command line parameters (IP and port)
java.lang.Exception
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |