Get stud shown cards right in writeHand().
This commit is contained in:
parent
12db3c0d55
commit
3253d5a234
|
@ -1336,6 +1336,14 @@ Add a complete on [street] by [player] to [amountTo]
|
|||
holecards = []
|
||||
for street in self.holeStreets:
|
||||
if self.holecards[street].has_key(player):
|
||||
if street == 'THIRD':
|
||||
holecards = holecards + self.holecards[street][player][1] + self.holecards[street][player][0]
|
||||
elif street == 'SEVENTH':
|
||||
if player == self.hero:
|
||||
holecards = holecards + self.holecards[street][player][0]
|
||||
else:
|
||||
holecards = holecards + self.holecards[street][player][1]
|
||||
else:
|
||||
holecards = holecards + self.holecards[street][player][0]
|
||||
return " ".join(holecards)
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user