|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectbot.Bot
bot.RandomBot
public class RandomBot
Simple bot who plays all games and bets randomly.
| Field Summary |
|---|
| Fields inherited from class bot.Bot |
|---|
buyin, equities, estimations, extFeeds, gameStorage, myname, proposals, random, state, talk |
| Constructor Summary | |
|---|---|
RandomBot(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.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 RandomBot(java.lang.String config)
| Method Detail |
|---|
public static void main(java.lang.String[] args)
throws java.lang.Exception
java.lang.Exceptionprotected boolean isPlayable()
Bot
isPlayable in class Botpublic int[] getBet()
Bot
getBet in class BotBetInt
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||