Changed the order of how draw cards are stored in HP so cards dealt to hero on Draws 1-3 (the open field of the holecards dictionary are placed after the cards held from previous streets (the closed field of the holecards dictionary)
This commit is contained in:
parent
54f05e4866
commit
148777bebd
|
@ -1245,7 +1245,7 @@ class DrawHand(Hand):
|
||||||
|
|
||||||
for i, street in enumerate(self.holeStreets):
|
for i, street in enumerate(self.holeStreets):
|
||||||
if player in self.holecards[street].keys():
|
if player in self.holecards[street].keys():
|
||||||
allhole = self.holecards[street][player][0] + self.holecards[street][player][1]
|
allhole = self.holecards[street][player][1] + self.holecards[street][player][0]
|
||||||
for c in range(len(allhole)):
|
for c in range(len(allhole)):
|
||||||
idx = c + (i*5)
|
idx = c + (i*5)
|
||||||
holecards[idx] = allhole[c]
|
holecards[idx] = allhole[c]
|
||||||
|
|
Loading…
Reference in New Issue
Block a user