acpc_dealer 2.3.2 → 2.3.3

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: d9721b48fd4c198e70ed61b4e9803089a511ccfd
4
- data.tar.gz: eea574f62b1377d77ae833704b48d2d3b65b7e4d
3
+ metadata.gz: 4021c985dfd37ebf2525a0bbad84f7891cac6784
4
+ data.tar.gz: 77d1d22cb49c5a1de42130f687433bd44689ae09
5
5
  SHA512:
6
- metadata.gz: 26a86126f6a08cb29efc6ee615d6ec7d6817f81a4577eea99bd09847fd039a2b3c55784c9fc447c4dcfef02fd2fb4144e275611206b6b9b97ffad606d540d5a4
7
- data.tar.gz: bbeddbb8a8f99515bc861b21895f6f1f4c62bd7c925efefcf5b12727838734ecc9ea73c45480dcc05595cb48d4c8a534565540a1bee911e8fed180abcfdb5b83
6
+ metadata.gz: 627f2b8b7c390f69006c9c1dcf561a4139570d2cad6873cbe7ce0ce8db42281519965b7dd7c92c77722c82284126466b57dee5420f44a556efd2e94025d836c9
7
+ data.tar.gz: 32462ae365d8e1878eccc068cad0ad863e07ece1117696b4a55429adefce05a66de67e600195615c191126df8e94f1976a6c6a89bf996554b533a1deb7afd2d4
@@ -25,20 +25,30 @@ module AcpcDealer
25
25
  Arguments = Struct.new(*DEALER_COMMAND_FORMAT)
26
26
 
27
27
  # @param [Array] dealer_arguments Arguments to the new dealer instance.
28
- # @param [String] log_directory The directory in which logs will be placed.
29
- # => Defaults to +<dealer_arguments[:match_name]>.logs+.
30
28
  # @param [Array] port_numbers The port numbers to which each player will connect.
31
- # => Defaults to random.
29
+ # => Defaults to the ACPC's default.
32
30
  # @return [Hash] The process ID of the started dealer (key +:pid+) and the array of ports that players may
33
31
  # => use to connect to the new dealer instance (key +:port_numbers+).
34
32
  # @raise (see ProcessRunner::go)
35
33
  # @raise (see FileUtils::mkdir_p)
36
- def self.start(dealer_arguments, log_directory=nil, port_numbers=nil)
37
- dealer_start_command = DEALER_COMMAND_FORMAT.inject([AcpcDealer::DEALER_PATH]) do |command, parameter|
38
- command += dealer_arguments[parameter].to_s.split
34
+ def self.command(dealer_arguments, port_numbers=nil)
35
+ dealer_start_command = DEALER_COMMAND_FORMAT.inject([AcpcDealer::DEALER_PATH]) do |command_, parameter|
36
+ command_ += dealer_arguments[parameter].to_s.split
39
37
  end
40
38
  dealer_start_command << "-p" << "#{port_numbers.join(',')}" if port_numbers
39
+ dealer_start_command
40
+ end
41
41
 
42
+ # @param [Array] dealer_arguments Arguments to the new dealer instance.
43
+ # @param [String] log_directory The directory in which logs will be placed.
44
+ # => Defaults to +<dealer_arguments[:match_name]>.logs+.
45
+ # @param [Array] port_numbers The port numbers to which each player will connect.
46
+ # => Defaults to the ACPC's default.
47
+ # @return [Hash] The process ID of the started dealer (key +:pid+) and the array of ports that players may
48
+ # => use to connect to the new dealer instance (key +:port_numbers+).
49
+ # @raise (see ProcessRunner::go)
50
+ # @raise (see FileUtils::mkdir_p)
51
+ def self.start(dealer_arguments, log_directory=nil, port_numbers=nil)
42
52
  unless log_directory
43
53
  log_directory = File.expand_path("../#{dealer_arguments[:match_name]}.logs", __FILE__)
44
54
  end
@@ -47,7 +57,7 @@ module AcpcDealer
47
57
 
48
58
  IO.pipe do |read_io, write_io|
49
59
  pid = ProcessRunner.go(
50
- dealer_start_command,
60
+ command(dealer_arguments, port_numbers),
51
61
  err: [
52
62
  File.join(log_directory, "#{dealer_arguments[:match_name]}.actions.log"),
53
63
  File::CREAT|File::WRONLY
@@ -1,3 +1,3 @@
1
1
  module AcpcDealer
2
- VERSION = "2.3.2"
2
+ VERSION = "2.3.3"
3
3
  end
@@ -77,6 +77,13 @@ int main( int argc, char **argv )
77
77
  // than the Linux default. What I've observed is that if a socket
78
78
  // connection is idle for long enough it gets dropped. This only
79
79
  // happens for some users.
80
+ struct protoent *proto = getprotobyname("tcp");
81
+ if (proto == NULL) {
82
+ fprintf( stderr, "ERROR: Unable to get TCP protocol number.\n" );
83
+ exit( EXIT_FAILURE );
84
+ }
85
+ int level = proto->p_proto;
86
+
80
87
  int on = 1;
81
88
  if (setsockopt(sock, SOL_SOCKET, SO_KEEPALIVE, &on, sizeof(on)) == -1) {
82
89
  fprintf( stderr, "ERROR: setsockopt failed; errno %i\n", errno );
@@ -84,21 +91,23 @@ int main( int argc, char **argv )
84
91
  }
85
92
  // Not sure what this should be
86
93
  int num_before_failure = 2;
87
- if (setsockopt(sock, SOL_TCP, TCP_KEEPCNT, &num_before_failure,
94
+ if (setsockopt(sock, level, TCP_KEEPCNT, &num_before_failure,
88
95
  sizeof(num_before_failure)) == -1) {
89
96
  fprintf( stderr, "ERROR: setsockopt failed; errno %i\n", errno );
90
97
  exit( EXIT_FAILURE );
91
98
  }
99
+ #ifdef TCP_KEEPIDLE
92
100
  // First check after 60 seconds
93
101
  int initial_secs = 60;
94
- if (setsockopt(sock, SOL_TCP, TCP_KEEPIDLE, &initial_secs,
102
+ if (setsockopt(sock, level, TCP_KEEPIDLE, &initial_secs,
95
103
  sizeof(initial_secs)) == -1) {
96
104
  fprintf( stderr, "ERROR: setsockopt failed; errno %i\n", errno );
97
105
  exit( EXIT_FAILURE );
98
106
  }
107
+ #endif
99
108
  // Thereafter, also check every 60 seconds
100
109
  int interval_secs = 60;
101
- if (setsockopt(sock, SOL_TCP, TCP_KEEPINTVL, &interval_secs,
110
+ if (setsockopt(sock, level, TCP_KEEPINTVL, &interval_secs,
102
111
  sizeof(interval_secs)) == -1) {
103
112
  fprintf( stderr, "ERROR: setsockopt failed; errno %i\n", errno );
104
113
  exit( EXIT_FAILURE );
@@ -10,7 +10,7 @@ Copyright (C) 2013 by the Computer Poker Research Group, University of Alberta
10
10
  #include <stdio.h>
11
11
 
12
12
  typedef struct {
13
- char host[HOST_NAME_MAX];
13
+ char host[_POSIX_HOST_NAME_MAX];
14
14
  uint16_t port;
15
15
  FILE *toServer;
16
16
  FILE *fromServer;
@@ -157,8 +157,9 @@ static void get_host(command_t *self)
157
157
 
158
158
  PlayerConfig* config = self->data;
159
159
 
160
- memset(config->dealer.host, 0, HOST_NAME_MAX * sizeof(*config->dealer.host));
161
- strncpy(config->dealer.host, self->arg, HOST_NAME_MAX);
160
+ memset(config->dealer.host, 0,
161
+ _POSIX_HOST_NAME_MAX * sizeof(*config->dealer.host));
162
+ strncpy(config->dealer.host, self->arg, _POSIX_HOST_NAME_MAX);
162
163
  }
163
164
 
164
165
  static void get_port(command_t *self)
metadata CHANGED
@@ -1,111 +1,111 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: acpc_dealer
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.3.2
4
+ version: 2.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dustin Morrill
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-01-03 00:00:00.000000000 Z
11
+ date: 2015-09-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: clive
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ~>
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
19
  version: '1.2'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ~>
24
+ - - "~>"
25
25
  - !ruby/object:Gem::Version
26
26
  version: '1.2'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: process_runner
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ~>
31
+ - - "~>"
32
32
  - !ruby/object:Gem::Version
33
33
  version: '0.0'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ~>
38
+ - - "~>"
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0.0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rake-compiler
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - ~>
45
+ - - "~>"
46
46
  - !ruby/object:Gem::Version
47
47
  version: '0.8'
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - ~>
52
+ - - "~>"
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0.8'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: minitest
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - ~>
59
+ - - "~>"
60
60
  - !ruby/object:Gem::Version
61
61
  version: '5.0'
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - ~>
66
+ - - "~>"
67
67
  - !ruby/object:Gem::Version
68
68
  version: '5.0'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: mocha
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - ~>
73
+ - - "~>"
74
74
  - !ruby/object:Gem::Version
75
75
  version: '0.13'
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - ~>
80
+ - - "~>"
81
81
  - !ruby/object:Gem::Version
82
82
  version: '0.13'
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: awesome_print
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - ~>
87
+ - - "~>"
88
88
  - !ruby/object:Gem::Version
89
89
  version: '1.0'
90
90
  type: :development
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
- - - ~>
94
+ - - "~>"
95
95
  - !ruby/object:Gem::Version
96
96
  version: '1.0'
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: simplecov
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
- - - ~>
101
+ - - "~>"
102
102
  - !ruby/object:Gem::Version
103
103
  version: '0.7'
104
104
  type: :development
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
- - - ~>
108
+ - - "~>"
109
109
  - !ruby/object:Gem::Version
110
110
  version: '0.7'
111
111
  description: Annual Computer Poker Competition Dealer
@@ -117,100 +117,97 @@ extensions:
117
117
  - ext/hand_evaluator/extconf.rb
118
118
  extra_rdoc_files: []
119
119
  files:
120
- - lib/acpc_dealer/dealer_runner.rb
121
- - lib/acpc_dealer/version.rb
122
- - lib/acpc_dealer.rb
120
+ - README.md
121
+ - Rakefile
122
+ - acpc_dealer.gemspec
123
+ - bin/acpc_dealer
123
124
  - ext/hand_evaluator/extconf.rb
124
125
  - ext/hand_evaluator/hand_evaluator.c
125
- - acpc_dealer.gemspec
126
- - Rakefile
127
- - README.md
126
+ - lib/acpc_dealer.rb
127
+ - lib/acpc_dealer/dealer_runner.rb
128
+ - lib/acpc_dealer/version.rb
128
129
  - spec/connection_information_spec.rb
129
130
  - spec/dealer_runner_spec.rb
130
131
  - spec/support/spec_helper.rb
132
+ - vendor/project_acpc_server/LICENCE
133
+ - vendor/project_acpc_server/Makefile
134
+ - vendor/project_acpc_server/README
135
+ - vendor/project_acpc_server/README.submission
136
+ - vendor/project_acpc_server/acpc_play_match.pl
137
+ - vendor/project_acpc_server/bm_run_matches.c
138
+ - vendor/project_acpc_server/bm_server.c
139
+ - vendor/project_acpc_server/bm_server.config
131
140
  - vendor/project_acpc_server/bm_widget.c
132
- - vendor/project_acpc_server/net.h
141
+ - vendor/project_acpc_server/dealer.c
142
+ - vendor/project_acpc_server/evalHandTables
143
+ - vendor/project_acpc_server/example_player.c
144
+ - vendor/project_acpc_server/example_player.limit.2p.sh
145
+ - vendor/project_acpc_server/example_player.limit.3p.sh
146
+ - vendor/project_acpc_server/example_player.nolimit.2p.sh
147
+ - vendor/project_acpc_server/example_player.nolimit.3p.sh
133
148
  - vendor/project_acpc_server/game.c
149
+ - vendor/project_acpc_server/game.h
150
+ - vendor/project_acpc_server/holdem.limit.2p.reverse_blinds.game
134
151
  - vendor/project_acpc_server/holdem.limit.3p.game
135
- - vendor/project_acpc_server/validate_submission.pl
136
- - vendor/project_acpc_server/bm_run_matches.c
137
- - vendor/project_acpc_server/kuhn_3p_equilibrium_player.sf2.sh
138
- - vendor/project_acpc_server/protocol.odt
139
- - vendor/project_acpc_server/net.c
140
152
  - vendor/project_acpc_server/holdem.nolimit.2p.reverse_blinds.game
141
- - vendor/project_acpc_server/example_player.limit.2p.sh
153
+ - vendor/project_acpc_server/holdem.nolimit.3p.game
142
154
  - vendor/project_acpc_server/kuhn.limit.3p.game
143
- - vendor/project_acpc_server/rng.h
144
- - vendor/project_acpc_server/example_player.kuhn.limit.3p.sh
145
- - vendor/project_acpc_server/kuhn_3p_equilibrium_player/test/test_kuhn_3p_equilibrium_player_sub_family_1.c
146
- - vendor/project_acpc_server/kuhn_3p_equilibrium_player/test/test_kuhn_3p_equilibrium_player.c
147
- - vendor/project_acpc_server/kuhn_3p_equilibrium_player/test/test_kuhn_3p_equilibrium_player_sub_family_3.c
148
- - vendor/project_acpc_server/kuhn_3p_equilibrium_player/test/test_kuhn_3p_equilibrium_player_sub_family_2.c
149
- - vendor/project_acpc_server/kuhn_3p_equilibrium_player/test/support/test_helper.c
150
- - vendor/project_acpc_server/kuhn_3p_equilibrium_player/test/support/test_helper.h
151
- - vendor/project_acpc_server/kuhn_3p_equilibrium_player/Makefile
155
+ - vendor/project_acpc_server/kuhn_3p_equilibrium_player.sf1.sh
156
+ - vendor/project_acpc_server/kuhn_3p_equilibrium_player.sf2.sh
157
+ - vendor/project_acpc_server/kuhn_3p_equilibrium_player.sf3.sh
152
158
  - vendor/project_acpc_server/kuhn_3p_equilibrium_player/LICENCE
159
+ - vendor/project_acpc_server/kuhn_3p_equilibrium_player/Makefile
153
160
  - vendor/project_acpc_server/kuhn_3p_equilibrium_player/README.md
154
- - vendor/project_acpc_server/kuhn_3p_equilibrium_player/vendor/commander.c/test.c
161
+ - vendor/project_acpc_server/kuhn_3p_equilibrium_player/src/CExceptionConfig.h
162
+ - vendor/project_acpc_server/kuhn_3p_equilibrium_player/src/dealer_connection.c
163
+ - vendor/project_acpc_server/kuhn_3p_equilibrium_player/src/dealer_connection.h
164
+ - vendor/project_acpc_server/kuhn_3p_equilibrium_player/src/kuhn_3p_equilibrium_player.c
165
+ - vendor/project_acpc_server/kuhn_3p_equilibrium_player/src/kuhn_3p_equilibrium_player.h
166
+ - vendor/project_acpc_server/kuhn_3p_equilibrium_player/src/main.c
167
+ - vendor/project_acpc_server/kuhn_3p_equilibrium_player/src/player_config.c
168
+ - vendor/project_acpc_server/kuhn_3p_equilibrium_player/src/player_config.h
169
+ - vendor/project_acpc_server/kuhn_3p_equilibrium_player/test/support/test_helper.c
170
+ - vendor/project_acpc_server/kuhn_3p_equilibrium_player/test/support/test_helper.h
171
+ - vendor/project_acpc_server/kuhn_3p_equilibrium_player/test/test_kuhn_3p_equilibrium_player.c
172
+ - vendor/project_acpc_server/kuhn_3p_equilibrium_player/test/test_kuhn_3p_equilibrium_player_sub_family_1.c
173
+ - vendor/project_acpc_server/kuhn_3p_equilibrium_player/test/test_kuhn_3p_equilibrium_player_sub_family_2.c
174
+ - vendor/project_acpc_server/kuhn_3p_equilibrium_player/test/test_kuhn_3p_equilibrium_player_sub_family_3.c
175
+ - vendor/project_acpc_server/kuhn_3p_equilibrium_player/vendor/cexception/docs/license.txt
176
+ - vendor/project_acpc_server/kuhn_3p_equilibrium_player/vendor/cexception/docs/readme.txt
177
+ - vendor/project_acpc_server/kuhn_3p_equilibrium_player/vendor/cexception/lib/CException.c
178
+ - vendor/project_acpc_server/kuhn_3p_equilibrium_player/vendor/cexception/lib/CException.h
179
+ - vendor/project_acpc_server/kuhn_3p_equilibrium_player/vendor/cexception/release/build.info
180
+ - vendor/project_acpc_server/kuhn_3p_equilibrium_player/vendor/cexception/release/version.info
181
+ - vendor/project_acpc_server/kuhn_3p_equilibrium_player/vendor/commander.c/History.md
155
182
  - vendor/project_acpc_server/kuhn_3p_equilibrium_player/vendor/commander.c/Makefile
183
+ - vendor/project_acpc_server/kuhn_3p_equilibrium_player/vendor/commander.c/Readme.md
156
184
  - vendor/project_acpc_server/kuhn_3p_equilibrium_player/vendor/commander.c/package.json
157
185
  - vendor/project_acpc_server/kuhn_3p_equilibrium_player/vendor/commander.c/src/commander.c
158
186
  - vendor/project_acpc_server/kuhn_3p_equilibrium_player/vendor/commander.c/src/commander.h
159
- - vendor/project_acpc_server/kuhn_3p_equilibrium_player/vendor/commander.c/Readme.md
160
- - vendor/project_acpc_server/kuhn_3p_equilibrium_player/vendor/commander.c/History.md
161
- - vendor/project_acpc_server/kuhn_3p_equilibrium_player/vendor/unity/docs/Unity Summary.txt
162
- - vendor/project_acpc_server/kuhn_3p_equilibrium_player/vendor/unity/docs/license.txt
163
- - vendor/project_acpc_server/kuhn_3p_equilibrium_player/vendor/unity/release/version.info
164
- - vendor/project_acpc_server/kuhn_3p_equilibrium_player/vendor/unity/release/build.info
165
- - vendor/project_acpc_server/kuhn_3p_equilibrium_player/vendor/unity/auto/generate_config.yml
166
- - vendor/project_acpc_server/kuhn_3p_equilibrium_player/vendor/unity/auto/unity_test_summary.rb
187
+ - vendor/project_acpc_server/kuhn_3p_equilibrium_player/vendor/commander.c/test.c
167
188
  - vendor/project_acpc_server/kuhn_3p_equilibrium_player/vendor/unity/auto/colour_prompt.rb
189
+ - vendor/project_acpc_server/kuhn_3p_equilibrium_player/vendor/unity/auto/colour_reporter.rb
190
+ - vendor/project_acpc_server/kuhn_3p_equilibrium_player/vendor/unity/auto/generate_config.yml
168
191
  - vendor/project_acpc_server/kuhn_3p_equilibrium_player/vendor/unity/auto/generate_module.rb
169
- - vendor/project_acpc_server/kuhn_3p_equilibrium_player/vendor/unity/auto/test_file_filter.rb
170
192
  - vendor/project_acpc_server/kuhn_3p_equilibrium_player/vendor/unity/auto/generate_test_runner.rb
171
- - vendor/project_acpc_server/kuhn_3p_equilibrium_player/vendor/unity/auto/colour_reporter.rb
172
- - vendor/project_acpc_server/kuhn_3p_equilibrium_player/vendor/unity/src/unity_internals.h
173
- - vendor/project_acpc_server/kuhn_3p_equilibrium_player/vendor/unity/src/unity.h
193
+ - vendor/project_acpc_server/kuhn_3p_equilibrium_player/vendor/unity/auto/test_file_filter.rb
194
+ - vendor/project_acpc_server/kuhn_3p_equilibrium_player/vendor/unity/auto/unity_test_summary.rb
195
+ - vendor/project_acpc_server/kuhn_3p_equilibrium_player/vendor/unity/docs/Unity Summary.txt
196
+ - vendor/project_acpc_server/kuhn_3p_equilibrium_player/vendor/unity/docs/license.txt
197
+ - vendor/project_acpc_server/kuhn_3p_equilibrium_player/vendor/unity/release/build.info
198
+ - vendor/project_acpc_server/kuhn_3p_equilibrium_player/vendor/unity/release/version.info
174
199
  - vendor/project_acpc_server/kuhn_3p_equilibrium_player/vendor/unity/src/unity.c
175
- - vendor/project_acpc_server/kuhn_3p_equilibrium_player/vendor/cexception/docs/readme.txt
176
- - vendor/project_acpc_server/kuhn_3p_equilibrium_player/vendor/cexception/docs/license.txt
177
- - vendor/project_acpc_server/kuhn_3p_equilibrium_player/vendor/cexception/release/version.info
178
- - vendor/project_acpc_server/kuhn_3p_equilibrium_player/vendor/cexception/release/build.info
179
- - vendor/project_acpc_server/kuhn_3p_equilibrium_player/vendor/cexception/lib/CException.c
180
- - vendor/project_acpc_server/kuhn_3p_equilibrium_player/vendor/cexception/lib/CException.h
181
- - vendor/project_acpc_server/kuhn_3p_equilibrium_player/src/player_config.h
182
- - vendor/project_acpc_server/kuhn_3p_equilibrium_player/src/player_config.c
183
- - vendor/project_acpc_server/kuhn_3p_equilibrium_player/src/dealer_connection.c
184
- - vendor/project_acpc_server/kuhn_3p_equilibrium_player/src/kuhn_3p_equilibrium_player.h
185
- - vendor/project_acpc_server/kuhn_3p_equilibrium_player/src/main.c
186
- - vendor/project_acpc_server/kuhn_3p_equilibrium_player/src/kuhn_3p_equilibrium_player.c
187
- - vendor/project_acpc_server/kuhn_3p_equilibrium_player/src/dealer_connection.h
188
- - vendor/project_acpc_server/kuhn_3p_equilibrium_player/src/CExceptionConfig.h
189
- - vendor/project_acpc_server/dealer.c
190
- - vendor/project_acpc_server/rng.o
191
- - vendor/project_acpc_server/holdem.nolimit.3p.game
192
- - vendor/project_acpc_server/bm_server.c
193
- - vendor/project_acpc_server/Makefile
194
- - vendor/project_acpc_server/kuhn_3p_equilibrium_player.sf3.sh
195
- - vendor/project_acpc_server/example_player.nolimit.2p.sh
200
+ - vendor/project_acpc_server/kuhn_3p_equilibrium_player/vendor/unity/src/unity.h
201
+ - vendor/project_acpc_server/kuhn_3p_equilibrium_player/vendor/unity/src/unity_internals.h
202
+ - vendor/project_acpc_server/net.c
203
+ - vendor/project_acpc_server/net.h
196
204
  - vendor/project_acpc_server/play_match.pl
197
205
  - vendor/project_acpc_server/protocol.md
198
- - vendor/project_acpc_server/holdem.limit.2p.reverse_blinds.game
199
- - vendor/project_acpc_server/bm_server.config
200
- - vendor/project_acpc_server/example_player.nolimit.3p.sh
201
- - vendor/project_acpc_server/example_player.limit.3p.sh
202
- - vendor/project_acpc_server/LICENCE
203
- - vendor/project_acpc_server/evalHandTables
204
- - vendor/project_acpc_server/game.o
205
- - vendor/project_acpc_server/README.submission
206
- - vendor/project_acpc_server/example_player.c
207
- - vendor/project_acpc_server/README
206
+ - vendor/project_acpc_server/protocol.odt
208
207
  - vendor/project_acpc_server/protocol.pdf
209
- - vendor/project_acpc_server/acpc_play_match.pl
210
- - vendor/project_acpc_server/kuhn_3p_equilibrium_player.sf1.sh
211
- - vendor/project_acpc_server/game.h
212
208
  - vendor/project_acpc_server/rng.c
213
- - bin/acpc_dealer
209
+ - vendor/project_acpc_server/rng.h
210
+ - vendor/project_acpc_server/validate_submission.pl
214
211
  homepage: https://github.com/dmorrill10/acpc_dealer
215
212
  licenses:
216
213
  - MIT
@@ -221,17 +218,17 @@ require_paths:
221
218
  - lib
222
219
  required_ruby_version: !ruby/object:Gem::Requirement
223
220
  requirements:
224
- - - '>='
221
+ - - ">="
225
222
  - !ruby/object:Gem::Version
226
223
  version: '0'
227
224
  required_rubygems_version: !ruby/object:Gem::Requirement
228
225
  requirements:
229
- - - '>='
226
+ - - ">="
230
227
  - !ruby/object:Gem::Version
231
228
  version: '0'
232
229
  requirements: []
233
230
  rubyforge_project:
234
- rubygems_version: 2.0.3
231
+ rubygems_version: 2.2.2
235
232
  signing_key:
236
233
  specification_version: 4
237
234
  summary: Ruby interface to the Annual Computer Poker Competition's dealer program.
@@ -1,2 +0,0 @@
1
- #!/bin/bash
2
- ./example_player kuhn.limit.3p.game $1 $2
Binary file
Binary file