Searched refs:FULLHAND (Results 1 - 5 of 5) sorted by relevance
/netbsd-current/games/cribbage/ |
H A D | extern.c | 62 CARD chand[FULLHAND]; /* computer's hand */ 66 CARD phand[FULLHAND]; /* player's hand */
|
H A D | deck.h | 44 #define FULLHAND 6 /* # cards in dealt hand */ macro
|
H A D | support.c | 245 CARD d[CARDS], h[FULLHAND], cb[2]; 260 for (i = 0; i < (FULLHAND - 1); i++) { 262 for (j = i + 1; j < FULLHAND; j++) { 264 for (k = 0; k < FULLHAND; k++) 266 cremove(chand[i], h, FULLHAND); 267 cremove(chand[j], h, FULLHAND - 1); 283 for (k = 0; k < FULLHAND; k++) 285 cremove(h[undo1[j]], chand, FULLHAND); 286 cremove(h[undo2[j]], chand, FULLHAND - 1);
|
H A D | cribbage.h | 35 extern CARD phand[ FULLHAND ]; /* player's hand */ 36 extern CARD chand[ FULLHAND ]; /* computer's hand */
|
H A D | crib.c | 329 sorthand(chand, FULLHAND); 330 sorthand(phand, FULLHAND); 331 makeknown(chand, FULLHAND); 332 prhand(phand, FULLHAND, Playwin, FALSE); 353 for (i = j = 0; i < FULLHAND; i++) { 379 crd = phand[infrom(phand, FULLHAND, prompt)]; 380 cremove(crd, phand, FULLHAND); 381 prhand(phand, FULLHAND, Playwin, FALSE); 385 crd = phand[infrom(phand, FULLHAND - 1, prompt)]; 386 cremove(crd, phand, FULLHAND [all...] |
Completed in 200 milliseconds