acpc_poker_types 7.4.2 → 7.4.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/acpc_poker_types/match_state.rb +5 -5
- data/lib/acpc_poker_types/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ae2b454a57b49169cb1e5f0a149ca66131f7e203
|
4
|
+
data.tar.gz: 0c079769f5c6442dd0347d47c14267cf5f206f6e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 95dba4359c5f7c23282c049b20fef21d936b0a5f427b13da982036995b863ea44f671a894bfe89212c714e5518d78d20ff6e100f4ac4cd32e62db9f493a3b10f
|
7
|
+
data.tar.gz: 3b08b65896168f1c4e224e5112b0b491cb12d479c8864da05139c7c44bb1971f39d6eb0cf3d7586c01bf42391ffa39d9b594ea6beba442d8b8827dc17374b2a1
|
@@ -442,18 +442,18 @@ class MatchState < DelegateClass(String)
|
|
442
442
|
cost: cost
|
443
443
|
)
|
444
444
|
|
445
|
-
@player_acting_sequence[current_round] << @next_to_act
|
446
|
-
@next_to_act = @players.next_to_act(@next_to_act)
|
447
|
-
|
448
445
|
adjust_min_wager!(
|
449
446
|
@precise_betting_sequence[current_round].last,
|
450
|
-
@
|
447
|
+
@next_to_act
|
451
448
|
)
|
452
449
|
|
453
|
-
@players[@
|
450
|
+
@players[@next_to_act].append_action!(
|
454
451
|
@precise_betting_sequence[current_round].last, current_round
|
455
452
|
)
|
456
453
|
|
454
|
+
@player_acting_sequence[current_round] << @next_to_act
|
455
|
+
@next_to_act = @players.next_to_act(@next_to_act)
|
456
|
+
|
457
457
|
if @next_to_act && @players[@next_to_act].stack < (@players.amount_to_call(@next_to_act) + @min_wager_by)
|
458
458
|
@min_wager_by = @players[@next_to_act].stack - @players.amount_to_call(@next_to_act)
|
459
459
|
end
|