bot
Class HSBremen2

java.lang.Object
  extended by bot.Bot
      extended by bot.DroolsBot
          extended by bot.HSBremen2
All Implemented Interfaces:
IF_Bot_Talk

public class HSBremen2
extends DroolsBot

Basic example bot which implements its strategy with drools.

Author:
Witthold/Korol

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

HSBremen2

public HSBremen2(java.lang.String config)
Method Detail

getBet

public int[] getBet()
Description copied from class: Bot
Returns the actual bet, which is to be sent to the server.
The first integer represents the kind of the bet as defined in BetInt.java
The second integer is only necessary when the amount is to be specified.

Specified by:
getBet in class Bot
Returns:
The calculated bet
See Also:
BetInt

isPlayable

protected boolean isPlayable()
Description copied from class: Bot
The specific bot can decide, if he want to / can play this kind of game.

Specified by:
isPlayable in class Bot

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
Throws:
java.lang.Exception