first BB is treated as a call & raise of sb, so if folded round to bb,
it's an uncalled bet and he collects pot
This commit is contained in:
parent
6f1e335275
commit
070091472c
|
@ -296,9 +296,15 @@ Add a raise on [street] by [player] to [amountTo]
|
||||||
# the bb gets called by out-of-blinds posts; but sb+bb only calls bb
|
# the bb gets called by out-of-blinds posts; but sb+bb only calls bb
|
||||||
if uncalled == Decimal(act[3]): # a bb is already posted
|
if uncalled == Decimal(act[3]): # a bb is already posted
|
||||||
calls = calls + [Decimal(act[3])]
|
calls = calls + [Decimal(act[3])]
|
||||||
|
elif 0 < uncalled < Decimal(act[3]): # a sb is already posted, btw wow python can do a<b<c.
|
||||||
|
# treat this as tho called & raised
|
||||||
|
calls = [0]
|
||||||
|
uncalled = Decimal(act[3]) - uncalled
|
||||||
else: # no blind yet posted.
|
else: # no blind yet posted.
|
||||||
uncalled = Decimal(act[3])
|
uncalled = Decimal(act[3])
|
||||||
elif act[2] == 'small blind':
|
elif act[2] == 'small blind':
|
||||||
|
uncalled = Decimal(act[3])
|
||||||
|
calls = [0]
|
||||||
pass
|
pass
|
||||||
|
|
||||||
if uncalled > 0 and max(calls+[0]) < uncalled:
|
if uncalled > 0 and max(calls+[0]) < uncalled:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user