acpc_dealer 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (109) hide show
  1. checksums.yaml +7 -0
  2. data/acpc_dealer.gemspec +2 -2
  3. data/lib/acpc_dealer.rb +4 -3
  4. data/lib/acpc_dealer/version.rb +1 -1
  5. data/lib/hand_evaluator.so +0 -0
  6. data/spec/coverage/assets/0.5.3/app.js +88 -0
  7. data/spec/coverage/assets/0.5.3/fancybox/blank.gif +0 -0
  8. data/spec/coverage/assets/0.5.3/fancybox/fancy_close.png +0 -0
  9. data/spec/coverage/assets/0.5.3/fancybox/fancy_loading.png +0 -0
  10. data/spec/coverage/assets/0.5.3/fancybox/fancy_nav_left.png +0 -0
  11. data/spec/coverage/assets/0.5.3/fancybox/fancy_nav_right.png +0 -0
  12. data/spec/coverage/assets/0.5.3/fancybox/fancy_shadow_e.png +0 -0
  13. data/spec/coverage/assets/0.5.3/fancybox/fancy_shadow_n.png +0 -0
  14. data/spec/coverage/assets/0.5.3/fancybox/fancy_shadow_ne.png +0 -0
  15. data/spec/coverage/assets/0.5.3/fancybox/fancy_shadow_nw.png +0 -0
  16. data/spec/coverage/assets/0.5.3/fancybox/fancy_shadow_s.png +0 -0
  17. data/spec/coverage/assets/0.5.3/fancybox/fancy_shadow_se.png +0 -0
  18. data/spec/coverage/assets/0.5.3/fancybox/fancy_shadow_sw.png +0 -0
  19. data/spec/coverage/assets/0.5.3/fancybox/fancy_shadow_w.png +0 -0
  20. data/spec/coverage/assets/0.5.3/fancybox/fancy_title_left.png +0 -0
  21. data/spec/coverage/assets/0.5.3/fancybox/fancy_title_main.png +0 -0
  22. data/spec/coverage/assets/0.5.3/fancybox/fancy_title_over.png +0 -0
  23. data/spec/coverage/assets/0.5.3/fancybox/fancy_title_right.png +0 -0
  24. data/spec/coverage/assets/0.5.3/fancybox/fancybox-x.png +0 -0
  25. data/spec/coverage/assets/0.5.3/fancybox/fancybox-y.png +0 -0
  26. data/spec/coverage/assets/0.5.3/fancybox/fancybox.png +0 -0
  27. data/spec/coverage/assets/0.5.3/fancybox/jquery.fancybox-1.3.1.css +363 -0
  28. data/spec/coverage/assets/0.5.3/fancybox/jquery.fancybox-1.3.1.pack.js +44 -0
  29. data/spec/coverage/assets/0.5.3/favicon_green.png +0 -0
  30. data/spec/coverage/assets/0.5.3/favicon_red.png +0 -0
  31. data/spec/coverage/assets/0.5.3/favicon_yellow.png +0 -0
  32. data/spec/coverage/assets/0.5.3/highlight.css +129 -0
  33. data/spec/coverage/assets/0.5.3/highlight.pack.js +1 -0
  34. data/spec/coverage/assets/0.5.3/jquery-1.6.2.min.js +18 -0
  35. data/spec/coverage/assets/0.5.3/jquery.dataTables.min.js +152 -0
  36. data/spec/coverage/assets/0.5.3/jquery.timeago.js +141 -0
  37. data/spec/coverage/assets/0.5.3/jquery.url.js +174 -0
  38. data/spec/coverage/assets/0.5.3/loading.gif +0 -0
  39. data/spec/coverage/assets/0.5.3/magnify.png +0 -0
  40. data/spec/coverage/assets/0.5.3/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  41. data/spec/coverage/assets/0.5.3/smoothness/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
  42. data/spec/coverage/assets/0.5.3/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  43. data/spec/coverage/assets/0.5.3/smoothness/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  44. data/spec/coverage/assets/0.5.3/smoothness/images/ui-bg_glass_75_dadada_1x400.png +0 -0
  45. data/spec/coverage/assets/0.5.3/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  46. data/spec/coverage/assets/0.5.3/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  47. data/spec/coverage/assets/0.5.3/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  48. data/spec/coverage/assets/0.5.3/smoothness/images/ui-icons_222222_256x240.png +0 -0
  49. data/spec/coverage/assets/0.5.3/smoothness/images/ui-icons_2e83ff_256x240.png +0 -0
  50. data/spec/coverage/assets/0.5.3/smoothness/images/ui-icons_454545_256x240.png +0 -0
  51. data/spec/coverage/assets/0.5.3/smoothness/images/ui-icons_888888_256x240.png +0 -0
  52. data/spec/coverage/assets/0.5.3/smoothness/images/ui-icons_cd0a0a_256x240.png +0 -0
  53. data/spec/coverage/assets/0.5.3/smoothness/jquery-ui-1.8.4.custom.css +295 -0
  54. data/spec/coverage/assets/0.5.3/stylesheet.css +383 -0
  55. data/spec/coverage/assets/0.7.1/application.css +1110 -0
  56. data/spec/coverage/assets/0.7.1/application.js +626 -0
  57. data/spec/coverage/assets/0.7.1/fancybox/blank.gif +0 -0
  58. data/spec/coverage/assets/0.7.1/fancybox/fancy_close.png +0 -0
  59. data/spec/coverage/assets/0.7.1/fancybox/fancy_loading.png +0 -0
  60. data/spec/coverage/assets/0.7.1/fancybox/fancy_nav_left.png +0 -0
  61. data/spec/coverage/assets/0.7.1/fancybox/fancy_nav_right.png +0 -0
  62. data/spec/coverage/assets/0.7.1/fancybox/fancy_shadow_e.png +0 -0
  63. data/spec/coverage/assets/0.7.1/fancybox/fancy_shadow_n.png +0 -0
  64. data/spec/coverage/assets/0.7.1/fancybox/fancy_shadow_ne.png +0 -0
  65. data/spec/coverage/assets/0.7.1/fancybox/fancy_shadow_nw.png +0 -0
  66. data/spec/coverage/assets/0.7.1/fancybox/fancy_shadow_s.png +0 -0
  67. data/spec/coverage/assets/0.7.1/fancybox/fancy_shadow_se.png +0 -0
  68. data/spec/coverage/assets/0.7.1/fancybox/fancy_shadow_sw.png +0 -0
  69. data/spec/coverage/assets/0.7.1/fancybox/fancy_shadow_w.png +0 -0
  70. data/spec/coverage/assets/0.7.1/fancybox/fancy_title_left.png +0 -0
  71. data/spec/coverage/assets/0.7.1/fancybox/fancy_title_main.png +0 -0
  72. data/spec/coverage/assets/0.7.1/fancybox/fancy_title_over.png +0 -0
  73. data/spec/coverage/assets/0.7.1/fancybox/fancy_title_right.png +0 -0
  74. data/spec/coverage/assets/0.7.1/fancybox/fancybox-x.png +0 -0
  75. data/spec/coverage/assets/0.7.1/fancybox/fancybox-y.png +0 -0
  76. data/spec/coverage/assets/0.7.1/fancybox/fancybox.png +0 -0
  77. data/spec/coverage/assets/0.7.1/favicon_green.png +0 -0
  78. data/spec/coverage/assets/0.7.1/favicon_red.png +0 -0
  79. data/spec/coverage/assets/0.7.1/favicon_yellow.png +0 -0
  80. data/spec/coverage/assets/0.7.1/loading.gif +0 -0
  81. data/spec/coverage/assets/0.7.1/magnify.png +0 -0
  82. data/spec/coverage/assets/0.7.1/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  83. data/spec/coverage/assets/0.7.1/smoothness/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
  84. data/spec/coverage/assets/0.7.1/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  85. data/spec/coverage/assets/0.7.1/smoothness/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  86. data/spec/coverage/assets/0.7.1/smoothness/images/ui-bg_glass_75_dadada_1x400.png +0 -0
  87. data/spec/coverage/assets/0.7.1/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  88. data/spec/coverage/assets/0.7.1/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  89. data/spec/coverage/assets/0.7.1/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  90. data/spec/coverage/assets/0.7.1/smoothness/images/ui-icons_222222_256x240.png +0 -0
  91. data/spec/coverage/assets/0.7.1/smoothness/images/ui-icons_2e83ff_256x240.png +0 -0
  92. data/spec/coverage/assets/0.7.1/smoothness/images/ui-icons_454545_256x240.png +0 -0
  93. data/spec/coverage/assets/0.7.1/smoothness/images/ui-icons_888888_256x240.png +0 -0
  94. data/spec/coverage/assets/0.7.1/smoothness/images/ui-icons_cd0a0a_256x240.png +0 -0
  95. data/spec/coverage/index.html +72 -0
  96. data/spec/dealer_runner_spec.rb +6 -5
  97. data/spec/support/spec_helper.rb +3 -1
  98. data/spec/test_match.actions.log +4 -0
  99. data/vendor/project_acpc_server/bm_server +0 -0
  100. data/vendor/project_acpc_server/bm_server.c +78 -31
  101. data/vendor/project_acpc_server/bm_widget +0 -0
  102. data/vendor/project_acpc_server/bm_widget.c +35 -0
  103. data/vendor/project_acpc_server/dealer +0 -0
  104. data/vendor/project_acpc_server/dealer.c +13 -2
  105. data/vendor/project_acpc_server/example_player +0 -0
  106. data/vendor/project_acpc_server/hi.log +0 -0
  107. data/vendor/project_acpc_server/rng.c +14 -13
  108. data/vendor/project_acpc_server/rng.h +3 -3
  109. metadata +226 -47
@@ -14,6 +14,7 @@ Copyright (C) 2011 by the Computer Poker Research Group, University of Alberta
14
14
  #include <netinet/in.h>
15
15
  #include <netinet/tcp.h>
16
16
  #include <sys/wait.h>
17
+ #include <errno.h>
17
18
  #include "net.h"
18
19
 
19
20
 
@@ -71,6 +72,38 @@ int main( int argc, char **argv )
71
72
  exit( EXIT_FAILURE );
72
73
  }
73
74
 
75
+ // EJ additions 9/3/2012
76
+ // Turn on keep-alive for socket connection with more frequent checking
77
+ // than the Linux default. What I've observed is that if a socket
78
+ // connection is idle for long enough it gets dropped. This only
79
+ // happens for some users.
80
+ int on = 1;
81
+ if (setsockopt(sock, SOL_SOCKET, SO_KEEPALIVE, &on, sizeof(on)) == -1) {
82
+ fprintf( stderr, "ERROR: setsockopt failed; errno %i\n", errno );
83
+ exit( EXIT_FAILURE );
84
+ }
85
+ // Not sure what this should be
86
+ int num_before_failure = 2;
87
+ if (setsockopt(sock, SOL_TCP, TCP_KEEPCNT, &num_before_failure,
88
+ sizeof(num_before_failure)) == -1) {
89
+ fprintf( stderr, "ERROR: setsockopt failed; errno %i\n", errno );
90
+ exit( EXIT_FAILURE );
91
+ }
92
+ // First check after 60 seconds
93
+ int initial_secs = 60;
94
+ if (setsockopt(sock, SOL_TCP, TCP_KEEPIDLE, &initial_secs,
95
+ sizeof(initial_secs)) == -1) {
96
+ fprintf( stderr, "ERROR: setsockopt failed; errno %i\n", errno );
97
+ exit( EXIT_FAILURE );
98
+ }
99
+ // Thereafter, also check every 60 seconds
100
+ int interval_secs = 60;
101
+ if (setsockopt(sock, SOL_TCP, TCP_KEEPINTVL, &interval_secs,
102
+ sizeof(interval_secs)) == -1) {
103
+ fprintf( stderr, "ERROR: setsockopt failed; errno %i\n", errno );
104
+ exit( EXIT_FAILURE );
105
+ }
106
+
74
107
  /* set up read buffers */
75
108
  fromUser = createReadBuf( 0 );
76
109
  fromServer = createReadBuf( sock );
@@ -148,6 +181,7 @@ int main( int argc, char **argv )
148
181
  }
149
182
 
150
183
  printf( "starting match %s:%s", &line[ 4 ], &line[ i + 1 ] );
184
+ fflush( stdout );
151
185
 
152
186
  /* run `command machine port` */
153
187
  childPID = fork();
@@ -177,6 +211,7 @@ int main( int argc, char **argv )
177
211
  fprintf( stderr, "ERROR: failed while printing server message\n" );
178
212
  exit( EXIT_FAILURE );
179
213
  }
214
+ fflush( stdout );
180
215
  }
181
216
  }
182
217
  }
Binary file
@@ -861,6 +861,16 @@ static int gameLoop( const Game *game, char *seatName[ MAX_PLAYERS ],
861
861
  }
862
862
  }
863
863
 
864
+ if ( !quiet ) {
865
+ if ( handId % 100 == 0) {
866
+ for( seat = 0; seat < game->numPlayers; ++seat ) {
867
+ fprintf(stderr, "Seconds cumulatively spent in match for seat %i: "
868
+ "%i\n", seat,
869
+ (int)(errorInfo->usedMatchMicros[ seat ] / 1000000));
870
+ }
871
+ }
872
+ }
873
+
864
874
  /* start a new hand */
865
875
  if( setUpNewHand( game, fixedSeats, &handId, &player0Seat,
866
876
  rng, errorInfo, &state.state ) < 0 ) {
@@ -1234,7 +1244,7 @@ int main( int argc, char **argv )
1234
1244
  if( select( listenSocket[ i ] + 1, &fds, NULL, NULL, &tv ) < 1 ) {
1235
1245
  /* no input ready within time, or an actual error */
1236
1246
 
1237
- fprintf( stderr, "ERROR: timed out wating for seat %d to connect\n",
1247
+ fprintf( stderr, "ERROR: timed out waiting for seat %d to connect\n",
1238
1248
  i + 1 );
1239
1249
  exit( EXIT_FAILURE );
1240
1250
  }
@@ -1265,7 +1275,8 @@ int main( int argc, char **argv )
1265
1275
  exit( EXIT_FAILURE );
1266
1276
  }
1267
1277
 
1268
- fflush( NULL );
1278
+ fflush( stderr );
1279
+ fflush( stdout );
1269
1280
  if( transactionFile != NULL ) {
1270
1281
  fclose( transactionFile );
1271
1282
  }
File without changes
@@ -53,11 +53,11 @@
53
53
  with this code, DON'T complain to Makoto Matsumoto... */
54
54
 
55
55
 
56
- /* initializes mt[N] with a seed */
56
+ /* initializes mt[RNG_N] with a seed */
57
57
  void init_genrand( rng_state_t *state, uint32_t s )
58
58
  {
59
59
  state->mt[0]= s & 0xffffffffUL;
60
- for (state->mti=1; state->mti<N; state->mti++) {
60
+ for (state->mti=1; state->mti<RNG_N; state->mti++) {
61
61
  state->mt[state->mti] =
62
62
  (1812433253UL * (state->mt[state->mti-1]
63
63
  ^ (state->mt[state->mti-1] >> 30))
@@ -79,24 +79,24 @@ void init_by_array( rng_state_t *state, uint32_t init_key[], int key_length )
79
79
 
80
80
  init_genrand(state, 19650218UL);
81
81
  i=1; j=0;
82
- k = (N>key_length ? N : key_length);
82
+ k = (RNG_N>key_length ? RNG_N : key_length);
83
83
  for (; k; k--) {
84
84
  state->mt[i] = ( state->mt[i]
85
85
  ^ ( ( state->mt[i-1] ^ ( state->mt[i-1] >> 30 ) )
86
86
  * 1664525UL ) )
87
87
  + init_key[j] + j; /* non linear */
88
88
  i++; j++;
89
- if (i>=N) { state->mt[0] = state->mt[N-1]; i=1; }
89
+ if (i>=RNG_N) { state->mt[0] = state->mt[RNG_N-1]; i=1; }
90
90
  if (j>=key_length) j=0;
91
91
  }
92
- for (k=N-1; k; k--) {
92
+ for (k=RNG_N-1; k; k--) {
93
93
  state->mt[i] = ( state->mt[i]
94
94
  ^ ( ( state->mt[i-1] ^ ( state->mt[i-1] >> 30 ) )
95
95
  * 1566083941UL ) )
96
96
  - i; /* non linear */
97
97
  state->mt[i] &= 0xffffffffUL; /* for WORDSIZE > 32 machines */
98
98
  i++;
99
- if (i>=N) { state->mt[0] = state->mt[N-1]; i=1; }
99
+ if (i>=RNG_N) { state->mt[0] = state->mt[RNG_N-1]; i=1; }
100
100
  }
101
101
 
102
102
  state->mt[0]|= 0x80000000UL; /* MSB is 1; assuring non-zero initial array */
@@ -109,19 +109,20 @@ uint32_t genrand_int32( rng_state_t *state )
109
109
  static uint32_t mag01[2]={0x0UL, MATRIX_A};
110
110
  /* mag01[x] = x * MATRIX_A for x=0,1 */
111
111
 
112
- if (state->mti == N) { /* generate N words at one time */
112
+ if (state->mti == RNG_N) { /* generate RNG_N words at one time */
113
113
  int kk;
114
114
 
115
- for (kk=0;kk<N-M;kk++) {
115
+ for (kk=0;kk<RNG_N-RNG_M;kk++) {
116
116
  y = (state->mt[kk]&UPPER_MASK)|(state->mt[kk+1]&LOWER_MASK);
117
- state->mt[kk] = state->mt[kk+M] ^ (y >> 1) ^ mag01[y & 0x1UL];
117
+ state->mt[kk] = state->mt[kk+RNG_M] ^ (y >> 1) ^ mag01[y & 0x1UL];
118
118
  }
119
- for (;kk<N-1;kk++) {
119
+ for (;kk<RNG_N-1;kk++) {
120
120
  y = (state->mt[kk]&UPPER_MASK)|(state->mt[kk+1]&LOWER_MASK);
121
- state->mt[kk] = state->mt[kk+(M-N)] ^ (y >> 1) ^ mag01[y & 0x1UL];
121
+ state->mt[kk] =
122
+ state->mt[kk+(RNG_M-RNG_N)] ^ (y >> 1) ^ mag01[y & 0x1UL];
122
123
  }
123
- y = (state->mt[N-1]&UPPER_MASK)|(state->mt[0]&LOWER_MASK);
124
- state->mt[N-1] = state->mt[M-1] ^ (y >> 1) ^ mag01[y & 0x1UL];
124
+ y = (state->mt[RNG_N-1]&UPPER_MASK)|(state->mt[0]&LOWER_MASK);
125
+ state->mt[RNG_N-1] = state->mt[RNG_M-1] ^ (y >> 1) ^ mag01[y & 0x1UL];
125
126
 
126
127
  state->mti = 0;
127
128
  }
@@ -17,15 +17,15 @@
17
17
 
18
18
 
19
19
  /* Period parameters */
20
- #define N 624
21
- #define M 397
20
+ #define RNG_N 624
21
+ #define RNG_M 397
22
22
  #define MATRIX_A 0x9908b0dfUL /* constant vector a */
23
23
  #define UPPER_MASK 0x80000000UL /* most significant w-r bits */
24
24
  #define LOWER_MASK 0x7fffffffUL /* least significant r bits */
25
25
 
26
26
 
27
27
  typedef struct {
28
- uint32_t mt[ N ];
28
+ uint32_t mt[ RNG_N ];
29
29
  int mti;
30
30
  } rng_state_t;
31
31
 
metadata CHANGED
@@ -1,126 +1,125 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: acpc_dealer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
5
- prerelease:
4
+ version: 0.0.3
6
5
  platform: ruby
7
6
  authors:
8
7
  - Dustin Morrill
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-01-04 00:00:00.000000000 Z
11
+ date: 2013-04-29 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: clive
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
- - - ! '>='
17
+ - - '>='
20
18
  - !ruby/object:Gem::Version
21
19
  version: '0'
22
20
  type: :runtime
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
- - - ! '>='
24
+ - - '>='
28
25
  - !ruby/object:Gem::Version
29
26
  version: '0'
30
27
  - !ruby/object:Gem::Dependency
31
28
  name: dmorrill10-utils
32
29
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
30
  requirements:
35
- - - ! '>='
31
+ - - '>='
36
32
  - !ruby/object:Gem::Version
37
33
  version: 1.0.0
38
34
  type: :runtime
39
35
  prerelease: false
40
36
  version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
37
  requirements:
43
- - - ! '>='
38
+ - - '>='
44
39
  - !ruby/object:Gem::Version
45
40
  version: 1.0.0
46
41
  - !ruby/object:Gem::Dependency
47
42
  name: rake-compiler
48
43
  requirement: !ruby/object:Gem::Requirement
49
- none: false
50
44
  requirements:
51
- - - ! '>='
45
+ - - '>='
52
46
  - !ruby/object:Gem::Version
53
47
  version: '0'
54
48
  type: :runtime
55
49
  prerelease: false
56
50
  version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
51
  requirements:
59
- - - ! '>='
52
+ - - '>='
60
53
  - !ruby/object:Gem::Version
61
54
  version: '0'
62
55
  - !ruby/object:Gem::Dependency
63
- name: piston
56
+ name: mocha
64
57
  requirement: !ruby/object:Gem::Requirement
65
- none: false
66
58
  requirements:
67
- - - ! '>='
59
+ - - '>='
68
60
  - !ruby/object:Gem::Version
69
61
  version: '0'
70
62
  type: :development
71
63
  prerelease: false
72
64
  version_requirements: !ruby/object:Gem::Requirement
73
- none: false
74
65
  requirements:
75
- - - ! '>='
66
+ - - '>='
76
67
  - !ruby/object:Gem::Version
77
68
  version: '0'
78
69
  - !ruby/object:Gem::Dependency
79
- name: mocha
70
+ name: simplecov
80
71
  requirement: !ruby/object:Gem::Requirement
81
- none: false
82
72
  requirements:
83
- - - ! '>='
73
+ - - '>='
84
74
  - !ruby/object:Gem::Version
85
75
  version: '0'
86
76
  type: :development
87
77
  prerelease: false
88
78
  version_requirements: !ruby/object:Gem::Requirement
89
- none: false
90
79
  requirements:
91
- - - ! '>='
80
+ - - '>='
92
81
  - !ruby/object:Gem::Version
93
82
  version: '0'
94
83
  - !ruby/object:Gem::Dependency
95
- name: simplecov
84
+ name: turn
96
85
  requirement: !ruby/object:Gem::Requirement
97
- none: false
98
86
  requirements:
99
- - - ! '>='
87
+ - - '>='
100
88
  - !ruby/object:Gem::Version
101
89
  version: '0'
102
90
  type: :development
103
91
  prerelease: false
104
92
  version_requirements: !ruby/object:Gem::Requirement
105
- none: false
106
93
  requirements:
107
- - - ! '>='
94
+ - - '>='
108
95
  - !ruby/object:Gem::Version
109
96
  version: '0'
110
97
  - !ruby/object:Gem::Dependency
111
- name: turn
98
+ name: minitest
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - '>='
102
+ - !ruby/object:Gem::Version
103
+ version: '0'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - '>='
109
+ - !ruby/object:Gem::Version
110
+ version: '0'
111
+ - !ruby/object:Gem::Dependency
112
+ name: pry-rescue
112
113
  requirement: !ruby/object:Gem::Requirement
113
- none: false
114
114
  requirements:
115
- - - ! '>='
115
+ - - '>='
116
116
  - !ruby/object:Gem::Version
117
117
  version: '0'
118
118
  type: :development
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
121
- none: false
122
121
  requirements:
123
- - - ! '>='
122
+ - - '>='
124
123
  - !ruby/object:Gem::Version
125
124
  version: '0'
126
125
  description: Annual Computer Poker Competition Dealer
@@ -143,8 +142,100 @@ files:
143
142
  - acpc_dealer.gemspec
144
143
  - Rakefile
145
144
  - README.md
145
+ - spec/test_match.actions.log
146
146
  - spec/dealer_runner_spec.rb
147
147
  - spec/support/spec_helper.rb
148
+ - spec/coverage/index.html
149
+ - spec/coverage/assets/0.7.1/application.js
150
+ - spec/coverage/assets/0.7.1/magnify.png
151
+ - spec/coverage/assets/0.7.1/favicon_yellow.png
152
+ - spec/coverage/assets/0.7.1/application.css
153
+ - spec/coverage/assets/0.7.1/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png
154
+ - spec/coverage/assets/0.7.1/smoothness/images/ui-icons_222222_256x240.png
155
+ - spec/coverage/assets/0.7.1/smoothness/images/ui-bg_glass_75_dadada_1x400.png
156
+ - spec/coverage/assets/0.7.1/smoothness/images/ui-icons_888888_256x240.png
157
+ - spec/coverage/assets/0.7.1/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png
158
+ - spec/coverage/assets/0.7.1/smoothness/images/ui-icons_2e83ff_256x240.png
159
+ - spec/coverage/assets/0.7.1/smoothness/images/ui-icons_cd0a0a_256x240.png
160
+ - spec/coverage/assets/0.7.1/smoothness/images/ui-bg_glass_65_ffffff_1x400.png
161
+ - spec/coverage/assets/0.7.1/smoothness/images/ui-bg_flat_75_ffffff_40x100.png
162
+ - spec/coverage/assets/0.7.1/smoothness/images/ui-icons_454545_256x240.png
163
+ - spec/coverage/assets/0.7.1/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png
164
+ - spec/coverage/assets/0.7.1/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png
165
+ - spec/coverage/assets/0.7.1/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png
166
+ - spec/coverage/assets/0.7.1/fancybox/fancy_title_right.png
167
+ - spec/coverage/assets/0.7.1/fancybox/fancybox-x.png
168
+ - spec/coverage/assets/0.7.1/fancybox/fancy_shadow_ne.png
169
+ - spec/coverage/assets/0.7.1/fancybox/fancybox.png
170
+ - spec/coverage/assets/0.7.1/fancybox/fancy_title_over.png
171
+ - spec/coverage/assets/0.7.1/fancybox/fancy_shadow_nw.png
172
+ - spec/coverage/assets/0.7.1/fancybox/fancy_loading.png
173
+ - spec/coverage/assets/0.7.1/fancybox/fancy_shadow_sw.png
174
+ - spec/coverage/assets/0.7.1/fancybox/fancy_nav_right.png
175
+ - spec/coverage/assets/0.7.1/fancybox/fancy_nav_left.png
176
+ - spec/coverage/assets/0.7.1/fancybox/fancybox-y.png
177
+ - spec/coverage/assets/0.7.1/fancybox/fancy_shadow_se.png
178
+ - spec/coverage/assets/0.7.1/fancybox/fancy_shadow_s.png
179
+ - spec/coverage/assets/0.7.1/fancybox/fancy_shadow_e.png
180
+ - spec/coverage/assets/0.7.1/fancybox/fancy_close.png
181
+ - spec/coverage/assets/0.7.1/fancybox/fancy_shadow_n.png
182
+ - spec/coverage/assets/0.7.1/fancybox/blank.gif
183
+ - spec/coverage/assets/0.7.1/fancybox/fancy_title_left.png
184
+ - spec/coverage/assets/0.7.1/fancybox/fancy_title_main.png
185
+ - spec/coverage/assets/0.7.1/fancybox/fancy_shadow_w.png
186
+ - spec/coverage/assets/0.7.1/favicon_green.png
187
+ - spec/coverage/assets/0.7.1/favicon_red.png
188
+ - spec/coverage/assets/0.7.1/loading.gif
189
+ - spec/coverage/assets/0.5.3/highlight.pack.js
190
+ - spec/coverage/assets/0.5.3/app.js
191
+ - spec/coverage/assets/0.5.3/magnify.png
192
+ - spec/coverage/assets/0.5.3/favicon_yellow.png
193
+ - spec/coverage/assets/0.5.3/jquery.timeago.js
194
+ - spec/coverage/assets/0.5.3/jquery.url.js
195
+ - spec/coverage/assets/0.5.3/jquery.dataTables.min.js
196
+ - spec/coverage/assets/0.5.3/jquery-1.6.2.min.js
197
+ - spec/coverage/assets/0.5.3/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png
198
+ - spec/coverage/assets/0.5.3/smoothness/images/ui-icons_222222_256x240.png
199
+ - spec/coverage/assets/0.5.3/smoothness/images/ui-bg_glass_75_dadada_1x400.png
200
+ - spec/coverage/assets/0.5.3/smoothness/images/ui-icons_888888_256x240.png
201
+ - spec/coverage/assets/0.5.3/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png
202
+ - spec/coverage/assets/0.5.3/smoothness/images/ui-icons_2e83ff_256x240.png
203
+ - spec/coverage/assets/0.5.3/smoothness/images/ui-icons_cd0a0a_256x240.png
204
+ - spec/coverage/assets/0.5.3/smoothness/images/ui-bg_glass_65_ffffff_1x400.png
205
+ - spec/coverage/assets/0.5.3/smoothness/images/ui-bg_flat_75_ffffff_40x100.png
206
+ - spec/coverage/assets/0.5.3/smoothness/images/ui-icons_454545_256x240.png
207
+ - spec/coverage/assets/0.5.3/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png
208
+ - spec/coverage/assets/0.5.3/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png
209
+ - spec/coverage/assets/0.5.3/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png
210
+ - spec/coverage/assets/0.5.3/smoothness/jquery-ui-1.8.4.custom.css
211
+ - spec/coverage/assets/0.5.3/fancybox/fancy_title_right.png
212
+ - spec/coverage/assets/0.5.3/fancybox/fancybox-x.png
213
+ - spec/coverage/assets/0.5.3/fancybox/fancy_shadow_ne.png
214
+ - spec/coverage/assets/0.5.3/fancybox/fancybox.png
215
+ - spec/coverage/assets/0.5.3/fancybox/fancy_title_over.png
216
+ - spec/coverage/assets/0.5.3/fancybox/fancy_shadow_nw.png
217
+ - spec/coverage/assets/0.5.3/fancybox/fancy_loading.png
218
+ - spec/coverage/assets/0.5.3/fancybox/fancy_shadow_sw.png
219
+ - spec/coverage/assets/0.5.3/fancybox/fancy_nav_right.png
220
+ - spec/coverage/assets/0.5.3/fancybox/fancy_nav_left.png
221
+ - spec/coverage/assets/0.5.3/fancybox/fancybox-y.png
222
+ - spec/coverage/assets/0.5.3/fancybox/fancy_shadow_se.png
223
+ - spec/coverage/assets/0.5.3/fancybox/fancy_shadow_s.png
224
+ - spec/coverage/assets/0.5.3/fancybox/fancy_shadow_e.png
225
+ - spec/coverage/assets/0.5.3/fancybox/fancy_close.png
226
+ - spec/coverage/assets/0.5.3/fancybox/fancy_shadow_n.png
227
+ - spec/coverage/assets/0.5.3/fancybox/jquery.fancybox-1.3.1.css
228
+ - spec/coverage/assets/0.5.3/fancybox/blank.gif
229
+ - spec/coverage/assets/0.5.3/fancybox/fancy_title_left.png
230
+ - spec/coverage/assets/0.5.3/fancybox/jquery.fancybox-1.3.1.pack.js
231
+ - spec/coverage/assets/0.5.3/fancybox/fancy_title_main.png
232
+ - spec/coverage/assets/0.5.3/fancybox/fancy_shadow_w.png
233
+ - spec/coverage/assets/0.5.3/favicon_green.png
234
+ - spec/coverage/assets/0.5.3/favicon_red.png
235
+ - spec/coverage/assets/0.5.3/stylesheet.css
236
+ - spec/coverage/assets/0.5.3/highlight.css
237
+ - spec/coverage/assets/0.5.3/loading.gif
238
+ - vendor/project_acpc_server/hi.log
148
239
  - vendor/project_acpc_server/rng.c
149
240
  - vendor/project_acpc_server/README.submission
150
241
  - vendor/project_acpc_server/example_player.nolimit.2p.sh
@@ -160,7 +251,10 @@ files:
160
251
  - vendor/project_acpc_server/protocol.pdf
161
252
  - vendor/project_acpc_server/example_player.c
162
253
  - vendor/project_acpc_server/game.h
254
+ - vendor/project_acpc_server/example_player
163
255
  - vendor/project_acpc_server/validate_submission.pl
256
+ - vendor/project_acpc_server/bm_widget
257
+ - vendor/project_acpc_server/dealer
164
258
  - vendor/project_acpc_server/game.c
165
259
  - vendor/project_acpc_server/holdem.nolimit.2p.reverse_blinds.game
166
260
  - vendor/project_acpc_server/net.c
@@ -169,6 +263,7 @@ files:
169
263
  - vendor/project_acpc_server/bm_server.c
170
264
  - vendor/project_acpc_server/LICENCE
171
265
  - vendor/project_acpc_server/dealer.c
266
+ - vendor/project_acpc_server/bm_server
172
267
  - vendor/project_acpc_server/holdem.nolimit.3p.game
173
268
  - vendor/project_acpc_server/Makefile
174
269
  - vendor/project_acpc_server/example_player.nolimit.3p.sh
@@ -177,34 +272,118 @@ files:
177
272
  - bin/acpc_dealer
178
273
  homepage: https://github.com/dmorrill10/acpc_dealer
179
274
  licenses: []
275
+ metadata: {}
180
276
  post_install_message:
181
277
  rdoc_options: []
182
278
  require_paths:
183
279
  - lib
184
280
  required_ruby_version: !ruby/object:Gem::Requirement
185
- none: false
186
281
  requirements:
187
- - - ! '>='
282
+ - - '>='
188
283
  - !ruby/object:Gem::Version
189
284
  version: '0'
190
- segments:
191
- - 0
192
- hash: 2467361455706544629
193
285
  required_rubygems_version: !ruby/object:Gem::Requirement
194
- none: false
195
286
  requirements:
196
- - - ! '>='
287
+ - - '>='
197
288
  - !ruby/object:Gem::Version
198
289
  version: '0'
199
- segments:
200
- - 0
201
- hash: 2467361455706544629
202
290
  requirements: []
203
291
  rubyforge_project:
204
- rubygems_version: 1.8.24
292
+ rubygems_version: 2.0.0.rc.2
205
293
  signing_key:
206
- specification_version: 3
294
+ specification_version: 4
207
295
  summary: Ruby interface to the Annual Computer Poker Competition's dealer program.
208
296
  test_files:
297
+ - spec/test_match.actions.log
209
298
  - spec/dealer_runner_spec.rb
210
299
  - spec/support/spec_helper.rb
300
+ - spec/coverage/index.html
301
+ - spec/coverage/assets/0.7.1/application.js
302
+ - spec/coverage/assets/0.7.1/magnify.png
303
+ - spec/coverage/assets/0.7.1/favicon_yellow.png
304
+ - spec/coverage/assets/0.7.1/application.css
305
+ - spec/coverage/assets/0.7.1/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png
306
+ - spec/coverage/assets/0.7.1/smoothness/images/ui-icons_222222_256x240.png
307
+ - spec/coverage/assets/0.7.1/smoothness/images/ui-bg_glass_75_dadada_1x400.png
308
+ - spec/coverage/assets/0.7.1/smoothness/images/ui-icons_888888_256x240.png
309
+ - spec/coverage/assets/0.7.1/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png
310
+ - spec/coverage/assets/0.7.1/smoothness/images/ui-icons_2e83ff_256x240.png
311
+ - spec/coverage/assets/0.7.1/smoothness/images/ui-icons_cd0a0a_256x240.png
312
+ - spec/coverage/assets/0.7.1/smoothness/images/ui-bg_glass_65_ffffff_1x400.png
313
+ - spec/coverage/assets/0.7.1/smoothness/images/ui-bg_flat_75_ffffff_40x100.png
314
+ - spec/coverage/assets/0.7.1/smoothness/images/ui-icons_454545_256x240.png
315
+ - spec/coverage/assets/0.7.1/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png
316
+ - spec/coverage/assets/0.7.1/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png
317
+ - spec/coverage/assets/0.7.1/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png
318
+ - spec/coverage/assets/0.7.1/fancybox/fancy_title_right.png
319
+ - spec/coverage/assets/0.7.1/fancybox/fancybox-x.png
320
+ - spec/coverage/assets/0.7.1/fancybox/fancy_shadow_ne.png
321
+ - spec/coverage/assets/0.7.1/fancybox/fancybox.png
322
+ - spec/coverage/assets/0.7.1/fancybox/fancy_title_over.png
323
+ - spec/coverage/assets/0.7.1/fancybox/fancy_shadow_nw.png
324
+ - spec/coverage/assets/0.7.1/fancybox/fancy_loading.png
325
+ - spec/coverage/assets/0.7.1/fancybox/fancy_shadow_sw.png
326
+ - spec/coverage/assets/0.7.1/fancybox/fancy_nav_right.png
327
+ - spec/coverage/assets/0.7.1/fancybox/fancy_nav_left.png
328
+ - spec/coverage/assets/0.7.1/fancybox/fancybox-y.png
329
+ - spec/coverage/assets/0.7.1/fancybox/fancy_shadow_se.png
330
+ - spec/coverage/assets/0.7.1/fancybox/fancy_shadow_s.png
331
+ - spec/coverage/assets/0.7.1/fancybox/fancy_shadow_e.png
332
+ - spec/coverage/assets/0.7.1/fancybox/fancy_close.png
333
+ - spec/coverage/assets/0.7.1/fancybox/fancy_shadow_n.png
334
+ - spec/coverage/assets/0.7.1/fancybox/blank.gif
335
+ - spec/coverage/assets/0.7.1/fancybox/fancy_title_left.png
336
+ - spec/coverage/assets/0.7.1/fancybox/fancy_title_main.png
337
+ - spec/coverage/assets/0.7.1/fancybox/fancy_shadow_w.png
338
+ - spec/coverage/assets/0.7.1/favicon_green.png
339
+ - spec/coverage/assets/0.7.1/favicon_red.png
340
+ - spec/coverage/assets/0.7.1/loading.gif
341
+ - spec/coverage/assets/0.5.3/highlight.pack.js
342
+ - spec/coverage/assets/0.5.3/app.js
343
+ - spec/coverage/assets/0.5.3/magnify.png
344
+ - spec/coverage/assets/0.5.3/favicon_yellow.png
345
+ - spec/coverage/assets/0.5.3/jquery.timeago.js
346
+ - spec/coverage/assets/0.5.3/jquery.url.js
347
+ - spec/coverage/assets/0.5.3/jquery.dataTables.min.js
348
+ - spec/coverage/assets/0.5.3/jquery-1.6.2.min.js
349
+ - spec/coverage/assets/0.5.3/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png
350
+ - spec/coverage/assets/0.5.3/smoothness/images/ui-icons_222222_256x240.png
351
+ - spec/coverage/assets/0.5.3/smoothness/images/ui-bg_glass_75_dadada_1x400.png
352
+ - spec/coverage/assets/0.5.3/smoothness/images/ui-icons_888888_256x240.png
353
+ - spec/coverage/assets/0.5.3/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png
354
+ - spec/coverage/assets/0.5.3/smoothness/images/ui-icons_2e83ff_256x240.png
355
+ - spec/coverage/assets/0.5.3/smoothness/images/ui-icons_cd0a0a_256x240.png
356
+ - spec/coverage/assets/0.5.3/smoothness/images/ui-bg_glass_65_ffffff_1x400.png
357
+ - spec/coverage/assets/0.5.3/smoothness/images/ui-bg_flat_75_ffffff_40x100.png
358
+ - spec/coverage/assets/0.5.3/smoothness/images/ui-icons_454545_256x240.png
359
+ - spec/coverage/assets/0.5.3/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png
360
+ - spec/coverage/assets/0.5.3/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png
361
+ - spec/coverage/assets/0.5.3/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png
362
+ - spec/coverage/assets/0.5.3/smoothness/jquery-ui-1.8.4.custom.css
363
+ - spec/coverage/assets/0.5.3/fancybox/fancy_title_right.png
364
+ - spec/coverage/assets/0.5.3/fancybox/fancybox-x.png
365
+ - spec/coverage/assets/0.5.3/fancybox/fancy_shadow_ne.png
366
+ - spec/coverage/assets/0.5.3/fancybox/fancybox.png
367
+ - spec/coverage/assets/0.5.3/fancybox/fancy_title_over.png
368
+ - spec/coverage/assets/0.5.3/fancybox/fancy_shadow_nw.png
369
+ - spec/coverage/assets/0.5.3/fancybox/fancy_loading.png
370
+ - spec/coverage/assets/0.5.3/fancybox/fancy_shadow_sw.png
371
+ - spec/coverage/assets/0.5.3/fancybox/fancy_nav_right.png
372
+ - spec/coverage/assets/0.5.3/fancybox/fancy_nav_left.png
373
+ - spec/coverage/assets/0.5.3/fancybox/fancybox-y.png
374
+ - spec/coverage/assets/0.5.3/fancybox/fancy_shadow_se.png
375
+ - spec/coverage/assets/0.5.3/fancybox/fancy_shadow_s.png
376
+ - spec/coverage/assets/0.5.3/fancybox/fancy_shadow_e.png
377
+ - spec/coverage/assets/0.5.3/fancybox/fancy_close.png
378
+ - spec/coverage/assets/0.5.3/fancybox/fancy_shadow_n.png
379
+ - spec/coverage/assets/0.5.3/fancybox/jquery.fancybox-1.3.1.css
380
+ - spec/coverage/assets/0.5.3/fancybox/blank.gif
381
+ - spec/coverage/assets/0.5.3/fancybox/fancy_title_left.png
382
+ - spec/coverage/assets/0.5.3/fancybox/jquery.fancybox-1.3.1.pack.js
383
+ - spec/coverage/assets/0.5.3/fancybox/fancy_title_main.png
384
+ - spec/coverage/assets/0.5.3/fancybox/fancy_shadow_w.png
385
+ - spec/coverage/assets/0.5.3/favicon_green.png
386
+ - spec/coverage/assets/0.5.3/favicon_red.png
387
+ - spec/coverage/assets/0.5.3/stylesheet.css
388
+ - spec/coverage/assets/0.5.3/highlight.css
389
+ - spec/coverage/assets/0.5.3/loading.gif