had a go at PokerStars -> PokerStars conversion...

fpt : bugfix
hand : DrawHand class, moved discardCards there
is 'studhi' = '7 Card Stud' in PokerStars string? was playing with
Natalie HORSE file
This commit is contained in:
Matt Turnbull
2009-03-06 01:24:38 +00:00
parent 1e047b6998
commit 426b5c2db5
4 changed files with 345 additions and 14 deletions
+1 -1
View File
@@ -185,7 +185,7 @@ follow : whether to tail -f the input"""
hand.hero = m.group('PNAME')
# "2c, qh" -> set(["2c","qc"])
# Also works with Omaha hands.
cards = m.group('CARDS')
cards = m.group('NEWCARDS')
cards = [c.strip() for c in cards.split(' ')]
hand.addHoleCards(cards, m.group('PNAME'))