acpc_poker_types 7.3.2 → 7.3.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/game_definition.rb +2 -3
- 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: c9c6ac3927127814c7558bd788b5c025fe28633b
|
4
|
+
data.tar.gz: 4bce90a27299ff90392ac3def2e356ad685e7ba3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ef396eb1cdf961db5a9f8df1b83e6094f74187f1fdb281b6d6d763d4accf4b184f6585022aa4efcdf708bd58ae10515c8719922e0a0b945b4e06fa149a658ad2
|
7
|
+
data.tar.gz: 4e99f766d5bc4ab88cdc7bf458f4a0921172ce06d16356542a24dcc076d17f9e2fdfd704bafcf0e5156b4677b98b91915a47ae604065ba0b31b851f7e5a20b61
|
@@ -1,4 +1,3 @@
|
|
1
|
-
require 'acpc_poker_types/chip_stack'
|
2
1
|
require 'acpc_poker_types/suit'
|
3
2
|
require 'acpc_poker_types/rank'
|
4
3
|
|
@@ -115,9 +114,9 @@ module AcpcPokerTypes
|
|
115
114
|
end
|
116
115
|
|
117
116
|
# @param [Integer] number_of_players The number of players that require stacks.
|
118
|
-
# @return [Array<
|
117
|
+
# @return [Array<Integer>] The default list of initial stacks for every player.
|
119
118
|
def self.default_chip_stacks(number_of_players)
|
120
|
-
number_of_players.times.map {
|
119
|
+
number_of_players.times.map { DEFAULT_CHIP_STACK }
|
121
120
|
end
|
122
121
|
|
123
122
|
# Checks if the given line is a comment beginning with '#' or ';', or empty.
|