rename hand.string to hand.handText

Few other minor updates to match monkeyfutz
This commit is contained in:
Worros
2009-03-05 00:10:08 +09:00
parent e8552023da
commit 740fe92914
5 changed files with 42 additions and 43 deletions
+2 -2
View File
@@ -34,10 +34,10 @@ class Hand:
# def __init__(self, sitename, gametype, sb, bb, string):
UPS = {'a':'A', 't':'T', 'j':'J', 'q':'Q', 'k':'K', 'S':'s', 'C':'c', 'H':'h', 'D':'d'}
def __init__(self, sitename, gametype, string):
def __init__(self, sitename, gametype, handText):
self.sitename = sitename
self.gametype = gametype
self.string = string
self.handText = handText
if gametype[1] == "hold" or self.gametype[1] == "omahahi":
self.streetList = ['PREFLOP','FLOP','TURN','RIVER'] # a list of the observed street names in order