Ejemplo n.º 1
0
 def update_match_info(self, options):
     key, value = options
     if key=="round":
         self.has_raised_street = False
         if 'table' in self.match_settings:
             stderr.write('Removing runout from last hand\n')
             del self.match_settings['table']
     if key=="table":
         self.has_raised_street = False
     Bot.update_match_info(self,options)
Ejemplo n.º 2
0
    def update_match_info(self, options):
        key, value = options
        if key=="round":
            self.has_raised_street = False
            if 'table' in self.match_settings:
                stderr.write('Removing runout from last hand\n')
                del self.match_settings['table']
        if key=="table":
            self.has_raised_street = False
        if key=="onButton":
            if value == self.settings['yourBot']:
                self.on_button = True
            else:
                self.on_button = False

        Bot.update_match_info(self,options)