|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbot.Bot
bot.HSBremen1
public class HSBremen1
An example bot which implements its strategy in java.
Field Summary |
---|
Fields inherited from class bot.Bot |
---|
buyin, equities, estimations, extFeeds, gameStorage, myname, proposals, random, state, talk |
Constructor Summary | |
---|---|
HSBremen1(java.lang.String config)
Creates a new instance of HSBremen1 |
Method Summary | |
---|---|
int[] |
getBet()
Returns the actual bet, which is to be sent to the server. |
protected boolean |
isPlayable()
The specific bot can decide, if he want to / can play this kind of game. |
static void |
main(java.lang.String[] args)
|
Methods inherited from class bot.Bot |
---|
addAction, addAction, endHand, endLastRound, gameOver, getBuyin, getName, getNumPlayers, getRandomBet, handleStateChange, newGame, newRound, printState, run, setBlinds, setBoardCards, setGetGamedef, setHand, setHoleCards, setNextActivePlayer, setPlayers, showdown, showdown, storeCompetitionEndData, storeCompetitionStartData, storeHandEndData, storeHandStartData, storeRoundEndData, storeRoundEndData |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HSBremen1(java.lang.String config)
config
- - bots configuration file, "default.config" if nothing is passed
java.io.FileNotFoundException
Method Detail |
---|
public static void main(java.lang.String[] args) throws java.lang.Exception
java.lang.Exception
protected boolean isPlayable()
Bot
isPlayable
in class Bot
public int[] getBet()
Bot
getBet
in class Bot
BetInt
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |