com.asdf.plugins.pokergames.texasholdem.bots
Class PokerBot

java.lang.Object
  extended by com.asdf.plugins.pokergames.texasholdem.bots.PokerBot
All Implemented Interfaces:
Player

public abstract class PokerBot
extends java.lang.Object
implements Player


Constructor Summary
PokerBot()
           
 
Method Summary
 Action getAction()
          Requests an Action from the player Called when it is the Player's turn to act.
 void holeCards(Card c1, Card c2, int seat)
          An event called to tell us our hole cards and seat number
abstract  Action postFlopAction()
           
abstract  Action preFlopAction()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.asdf.plugins.pokergames.Player
actionEvent, dealHoleCardsEvent, gameOverEvent, gameStartEvent, gameStateChanged, receiveHand, showdownEvent, stageEvent, winEvent
 

Constructor Detail

PokerBot

public PokerBot()
Method Detail

holeCards

public void holeCards(Card c1,
                      Card c2,
                      int seat)
An event called to tell us our hole cards and seat number

Specified by:
holeCards in interface Player
Parameters:
c1 - your first hole card
c2 - your second hole card
seat - your seat number at the table

getAction

public Action getAction()
Requests an Action from the player Called when it is the Player's turn to act.

Specified by:
getAction in interface Player
Returns:
Action the players next action, with desired amount This is called when it is the players turn to act.

preFlopAction

public abstract Action preFlopAction()

postFlopAction

public abstract Action postFlopAction()