acpc_dealer 2.0.1 → 2.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/acpc_dealer/version.rb +1 -1
- data/lib/hand_evaluator.so +0 -0
- data/vendor/project_acpc_server/bm_server +0 -0
- data/vendor/project_acpc_server/bm_widget +0 -0
- data/vendor/project_acpc_server/dealer +0 -0
- data/vendor/project_acpc_server/example_player +0 -0
- data/vendor/project_acpc_server/game.c +3 -3
- metadata +31 -31
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 39edee24559eee4f46c7d8ed1e5d8b9c8efaea05
|
4
|
+
data.tar.gz: 30f2ecf954ff34c6e4b9f6384ba2182a94e91caf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0ad89d665ff884b8b4171d8330221caec27f0f9a5a5e76d86994a81ae1077385ac8f08264ac610f684cf34485f3d99d35cf3521631ed177d612db439dabd4f80
|
7
|
+
data.tar.gz: c58c4cc718012ff6f720fc2b6cf685b2f5400e0318b7a0fc9e5852a28d9b5ee7324d1515844f8ea852633d10447adcbfa311c60b49c34fb7c83a9c1b3f9c0e9d
|
data/lib/acpc_dealer/version.rb
CHANGED
data/lib/hand_evaluator.so
CHANGED
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -100,7 +100,7 @@ static enum ActionType charToAction[ 256 ] = {
|
|
100
100
|
|
101
101
|
static char actionChars[ a_invalid +1 ] = "fcr";
|
102
102
|
|
103
|
-
static char suitChars[ MAX_SUITS +1] = "
|
103
|
+
static char suitChars[ MAX_SUITS +1] = "cdhs";
|
104
104
|
static char rankChars[ MAX_RANKS +1] = "23456789TJQKA";
|
105
105
|
|
106
106
|
|
@@ -659,9 +659,9 @@ void dealCards( const Game *game, rng_state_t *rng, State *state )
|
|
659
659
|
uint8_t deck[ MAX_RANKS * MAX_SUITS ];
|
660
660
|
|
661
661
|
numCards = 0;
|
662
|
-
for( s =
|
662
|
+
for( s = MAX_SUITS - game->numSuits; s < MAX_SUITS; ++s ) {
|
663
663
|
|
664
|
-
for( r = MAX_RANKS -
|
664
|
+
for( r = MAX_RANKS - game->numRanks; r < MAX_RANKS; ++r ) {
|
665
665
|
|
666
666
|
deck[ numCards ] = makeCard( r, s );
|
667
667
|
++numCards;
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: acpc_dealer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dustin Morrill
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-08-
|
11
|
+
date: 2013-08-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: clive
|
@@ -131,52 +131,52 @@ extensions:
|
|
131
131
|
- ext/hand_evaluator/extconf.rb
|
132
132
|
extra_rdoc_files: []
|
133
133
|
files:
|
134
|
-
- lib/hand_evaluator.so
|
135
134
|
- lib/acpc_dealer.rb
|
136
135
|
- lib/acpc_dealer/dealer_runner.rb
|
137
136
|
- lib/acpc_dealer/version.rb
|
137
|
+
- lib/hand_evaluator.so
|
138
138
|
- ext/hand_evaluator/hand_evaluator.c
|
139
139
|
- ext/hand_evaluator/extconf.rb
|
140
140
|
- acpc_dealer.gemspec
|
141
141
|
- Rakefile
|
142
142
|
- README.md
|
143
|
-
- spec/dealer_runner_spec.rb
|
144
143
|
- spec/support/spec_helper.rb
|
145
144
|
- spec/connection_information_spec.rb
|
146
|
-
-
|
147
|
-
- vendor/project_acpc_server/
|
148
|
-
- vendor/project_acpc_server/
|
149
|
-
- vendor/project_acpc_server/game.c
|
150
|
-
- vendor/project_acpc_server/example_player.c
|
145
|
+
- spec/dealer_runner_spec.rb
|
146
|
+
- vendor/project_acpc_server/example_player
|
147
|
+
- vendor/project_acpc_server/protocol.pdf
|
151
148
|
- vendor/project_acpc_server/rng.c
|
152
|
-
- vendor/project_acpc_server/
|
153
|
-
- vendor/project_acpc_server/
|
154
|
-
- vendor/project_acpc_server/
|
155
|
-
- vendor/project_acpc_server/
|
149
|
+
- vendor/project_acpc_server/holdem.nolimit.2p.reverse_blinds.game
|
150
|
+
- vendor/project_acpc_server/example_player.c
|
151
|
+
- vendor/project_acpc_server/README.submission
|
152
|
+
- vendor/project_acpc_server/game.h
|
153
|
+
- vendor/project_acpc_server/evalHandTables
|
154
|
+
- vendor/project_acpc_server/validate_submission.pl
|
156
155
|
- vendor/project_acpc_server/Makefile
|
157
|
-
- vendor/project_acpc_server/example_player
|
158
|
-
- vendor/project_acpc_server/net.c
|
159
156
|
- vendor/project_acpc_server/net.h
|
160
|
-
- vendor/project_acpc_server/protocol.md
|
161
|
-
- vendor/project_acpc_server/protocol.pdf
|
162
|
-
- vendor/project_acpc_server/holdem.nolimit.3p.game
|
163
|
-
- vendor/project_acpc_server/example_player.nolimit.3p.sh
|
164
157
|
- vendor/project_acpc_server/acpc_play_match.pl
|
165
|
-
- vendor/project_acpc_server/holdem.nolimit.2p.reverse_blinds.game
|
166
|
-
- vendor/project_acpc_server/play_match.pl
|
167
|
-
- vendor/project_acpc_server/dealer.c
|
168
158
|
- vendor/project_acpc_server/bm_server.config
|
169
|
-
- vendor/project_acpc_server/
|
170
|
-
- vendor/project_acpc_server/
|
171
|
-
- vendor/project_acpc_server/
|
159
|
+
- vendor/project_acpc_server/dealer.c
|
160
|
+
- vendor/project_acpc_server/rng.h
|
161
|
+
- vendor/project_acpc_server/holdem.nolimit.3p.game
|
162
|
+
- vendor/project_acpc_server/play_match.pl
|
172
163
|
- vendor/project_acpc_server/holdem.limit.2p.reverse_blinds.game
|
173
|
-
- vendor/project_acpc_server/
|
164
|
+
- vendor/project_acpc_server/bm_widget
|
165
|
+
- vendor/project_acpc_server/LICENCE
|
166
|
+
- vendor/project_acpc_server/protocol.odt
|
174
167
|
- vendor/project_acpc_server/example_player.nolimit.2p.sh
|
175
|
-
- vendor/project_acpc_server/
|
176
|
-
- vendor/project_acpc_server/dealer
|
177
|
-
- vendor/project_acpc_server/validate_submission.pl
|
168
|
+
- vendor/project_acpc_server/example_player.limit.2p.sh
|
178
169
|
- vendor/project_acpc_server/bm_server.c
|
179
|
-
- vendor/project_acpc_server/
|
170
|
+
- vendor/project_acpc_server/example_player.limit.3p.sh
|
171
|
+
- vendor/project_acpc_server/bm_widget.c
|
172
|
+
- vendor/project_acpc_server/holdem.limit.3p.game
|
173
|
+
- vendor/project_acpc_server/bm_server
|
174
|
+
- vendor/project_acpc_server/protocol.md
|
175
|
+
- vendor/project_acpc_server/example_player.nolimit.3p.sh
|
176
|
+
- vendor/project_acpc_server/game.c
|
177
|
+
- vendor/project_acpc_server/dealer
|
178
|
+
- vendor/project_acpc_server/net.c
|
179
|
+
- vendor/project_acpc_server/README
|
180
180
|
- bin/acpc_dealer
|
181
181
|
homepage: https://github.com/dmorrill10/acpc_dealer
|
182
182
|
licenses: []
|
@@ -202,7 +202,7 @@ signing_key:
|
|
202
202
|
specification_version: 4
|
203
203
|
summary: Ruby interface to the Annual Computer Poker Competition's dealer program.
|
204
204
|
test_files:
|
205
|
-
- spec/dealer_runner_spec.rb
|
206
205
|
- spec/support/spec_helper.rb
|
207
206
|
- spec/connection_information_spec.rb
|
207
|
+
- spec/dealer_runner_spec.rb
|
208
208
|
has_rdoc:
|