everleaf stud markstreets, antes, bringin

todo: completes
todo: strange pot bug :( maybe go away if we add bringin completes or
something
fulltilt: warning if bringin not found
This commit is contained in:
Matt Turnbull
2009-03-10 17:25:49 +00:00
parent 2c2d912c6e
commit f714b25487
3 changed files with 42 additions and 8 deletions
+5 -3
View File
@@ -182,9 +182,11 @@ follow : whether to tail -f the input"""
def readBringIn(self, hand):
m = self.re_BringIn.search(hand.handText,re.DOTALL)
logging.debug("Player bringing in: %s for %s" %(m.group('PNAME'), m.group('BRINGIN')))
hand.addBringIn(m.group('PNAME'), m.group('BRINGIN'))
if m:
logging.debug("Player bringing in: %s for %s" %(m.group('PNAME'), m.group('BRINGIN')))
hand.addBringIn(m.group('PNAME'), m.group('BRINGIN'))
else:
logging.warning("No bringin found")
def readButton(self, hand):
hand.buttonpos = int(self.re_Button.search(hand.handText).group('BUTTON'))