|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbot.Bot
bot.DroolsBot
bot.HSBremen2
public class HSBremen2
Basic example bot which implements its strategy with drools.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class bot.DroolsBot |
---|
DroolsBot.PotEquity |
Field Summary |
---|
Fields inherited from class bot.DroolsBot |
---|
kbase, ksession, logger |
Fields inherited from class bot.Bot |
---|
buyin, equities, estimations, extFeeds, gameStorage, myname, proposals, random, state, talk |
Constructor Summary | |
---|---|
HSBremen2(java.lang.String config)
|
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.DroolsBot |
---|
readKnowledgeBase |
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 HSBremen2(java.lang.String config)
Method Detail |
---|
public int[] getBet()
Bot
getBet
in class Bot
BetInt
protected boolean isPlayable()
Bot
isPlayable
in class Bot
public static void main(java.lang.String[] args) throws java.lang.Exception
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |