acpc_poker_types 7.5.0 → 7.5.1
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.rb +1 -1
- data/lib/acpc_poker_types/version.rb +1 -1
- data/spec/acpc_poker_types_spec.rb +2 -2
- 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: d18e6beaa53b55a84a197898627ecf4d3af23d7e
|
4
|
+
data.tar.gz: 34df880a2fccadd74722f97cd0a2842c69526207
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 614ab04b2ef68d6fb7961173b48f92e3d8f10427aee1f5e25dca4ac165e33e9b5acfcb277d27a378688c2d2548dc5ca861da97c70dc2fb37af0614ff68a7b906
|
7
|
+
data.tar.gz: e989357b69373ecff2a71de8407b995186c81677ccc42071345bc6c8fcf85ecce736d6a6a0633aee3d928e5a9ba5621ef59fb08a420f3f8310dbe12cd654cb9a
|
data/lib/acpc_poker_types.rb
CHANGED
@@ -68,7 +68,7 @@ module AcpcPokerTypes
|
|
68
68
|
hand_number,
|
69
69
|
game_def
|
70
70
|
)]
|
71
|
-
"
|
71
|
+
"hand ##{hand_number} of #{number_of_hands} dealt by #{dealer_player}, #{small_blind_payer} pays SB (#{game_def.blinds.min}), #{big_blind_payer} pays BB (#{game_def.blinds.max})"
|
72
72
|
end
|
73
73
|
def hand_win_description(player, amount_won, current_balance)
|
74
74
|
"#{player} wins #{amount_won}, bringing their balance to #{current_balance + amount_won}"
|
@@ -86,7 +86,7 @@ END GAMEDEF
|
|
86
86
|
it 'when player A folds: A folds' do
|
87
87
|
fold_description('A').must_equal 'A folds'
|
88
88
|
end
|
89
|
-
it 'when the xth hand is dealt by player A, and A is small blind, while player B is big blind:
|
89
|
+
it 'when the xth hand is dealt by player A, and A is small blind, while player B is big blind: hand #x of y dealt by A, A pays SB (5), B pays BB (10)' do
|
90
90
|
x = 23
|
91
91
|
y = 100
|
92
92
|
p1 = 'A'
|
@@ -96,7 +96,7 @@ END GAMEDEF
|
|
96
96
|
x,
|
97
97
|
@l_game_def,
|
98
98
|
y
|
99
|
-
).must_equal "
|
99
|
+
).must_equal "hand ##{x} of #{y} dealt by #{p1}, #{p1} pays SB (#{@l_game_def.blinds.min}), #{p2} pays BB (#{@l_game_def.blinds.max})"
|
100
100
|
end
|
101
101
|
|
102
102
|
describe 'hand result messages' do
|