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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5da18180f22da5a96e575555ace20babb3a632ed
4
- data.tar.gz: 73c88dacd77d81ba27cce243b7fac3494402bf26
3
+ metadata.gz: 39edee24559eee4f46c7d8ed1e5d8b9c8efaea05
4
+ data.tar.gz: 30f2ecf954ff34c6e4b9f6384ba2182a94e91caf
5
5
  SHA512:
6
- metadata.gz: 3d3e01a071517631b65fa8d8ed18615ed6b769f2a1516957ee935ec76a26b510445ef23a79d7e2f08e625bfd3c00cb0d55805dfbb15044b929571f28009dfadd
7
- data.tar.gz: 2c9cc82eb4b3dba86befd531b507531583e2eb65be70f9cf9c9cf8c999459d603b03248b17486929b54f6e75e46526d24a7f5eb1723114cd748c0de8cf54659a
6
+ metadata.gz: 0ad89d665ff884b8b4171d8330221caec27f0f9a5a5e76d86994a81ae1077385ac8f08264ac610f684cf34485f3d99d35cf3521631ed177d612db439dabd4f80
7
+ data.tar.gz: c58c4cc718012ff6f720fc2b6cf685b2f5400e0318b7a0fc9e5852a28d9b5ee7324d1515844f8ea852633d10447adcbfa311c60b49c34fb7c83a9c1b3f9c0e9d
@@ -1,3 +1,3 @@
1
1
  module AcpcDealer
2
- VERSION = "2.0.1"
2
+ VERSION = "2.0.2"
3
3
  end
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] = "shdc";
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 = 0; s < game->numSuits; ++s ) {
662
+ for( s = MAX_SUITS - game->numSuits; s < MAX_SUITS; ++s ) {
663
663
 
664
- for( r = MAX_RANKS - 1; r >= MAX_RANKS - game->numRanks; --r ) {
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.1
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-01 00:00:00.000000000 Z
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
- - vendor/project_acpc_server/evalHandTables
147
- - vendor/project_acpc_server/bm_widget
148
- - vendor/project_acpc_server/example_player.limit.3p.sh
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/LICENCE
153
- - vendor/project_acpc_server/bm_widget.c
154
- - vendor/project_acpc_server/protocol.odt
155
- - vendor/project_acpc_server/rng.h
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/example_player.limit.2p.sh
170
- - vendor/project_acpc_server/README
171
- - vendor/project_acpc_server/bm_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/holdem.limit.3p.game
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/game.h
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/README.submission
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: