acpc_poker_types 7.1.0 → 7.1.1
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 20982f70477d43521167958bfe44cc988401afa2
|
4
|
+
data.tar.gz: 52b05645a50893837e35e824f5174d3ad4af95b1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3025113f3a271e1902c1f66305398d4a811facef398bdd536f3c9de058cd1444dca4997f1f8bb022510b1b73f784e8b677f4ee6ae03acfe63ebcb511e653edd7
|
7
|
+
data.tar.gz: babd57cea83388149f40e369aa1d941a3c7e44f4e0f711401243c4dc5819a9b07e1d5abf88a263124dbcc6bf2f4a2453d27038a1f6efe817ef4aeca997eecdaa
|
@@ -106,7 +106,7 @@ class PlayersAtTheTable
|
|
106
106
|
def legal_actions
|
107
107
|
return [] unless @match_state
|
108
108
|
|
109
|
-
@match_state.
|
109
|
+
@match_state.legal_actions(@game_def)
|
110
110
|
end
|
111
111
|
|
112
112
|
# @return [String] player acting sequence as a string.
|
@@ -77,14 +77,6 @@ class PokerAction < DelegateClass(String)
|
|
77
77
|
super to_s
|
78
78
|
end
|
79
79
|
|
80
|
-
# def ==(other_action)
|
81
|
-
# 0 == (self <=> other_action)
|
82
|
-
# end
|
83
|
-
|
84
|
-
# def <=>(other_action)
|
85
|
-
# to_s <=> other_action.to_s
|
86
|
-
# end
|
87
|
-
|
88
80
|
# @return [String] String representation of this action.
|
89
81
|
# @param pot_gained_chips [Boolean] Whether or not the pot had gained chips before this action. Defaults to true.
|
90
82
|
# @param player_sees_wager [Boolean] Whether or not the player is reacting to a wager.
|
@@ -102,7 +94,6 @@ class PokerAction < DelegateClass(String)
|
|
102
94
|
end
|
103
95
|
|
104
96
|
alias_method :to_acpc, :to_s
|
105
|
-
alias_method :to_str, :to_s
|
106
97
|
|
107
98
|
# @return [Boolean] +true+ if this action has a modifier, +false+ otherwise.
|
108
99
|
def has_modifier?
|
@@ -17,7 +17,7 @@ describe PlayersAtTheTable do
|
|
17
17
|
# Careful though, even 10 hands takes about three seconds,
|
18
18
|
# and it scales slightly less than linearly. 120 takes
|
19
19
|
# about 30 seconds.
|
20
|
-
num_hands =
|
20
|
+
num_hands = 10
|
21
21
|
MatchLog.all.each do |log_description|
|
22
22
|
@match = DealerData::PokerMatchData.parse_files(
|
23
23
|
log_description.actions_file_path,
|