Skip to content

Things they may not have documented

aliang edited this page Jan 12, 2011 · 2 revisions

To see opponent stuff:

Your pokerbot has a reference to the opponent (self.opponent), which is a dict with four keys:

'pip', 'button', 'name', 'stack'

So in your respond method you can call

self.opponent['stack']

to get the size of the stack.

To see legal actions: Look at self.legal inside your pokerbot class

Clone this wiki locally