Searched refs:CARDS (Results 1 - 7 of 7) sorted by relevance

/netbsd-6-1-5-RELEASE/games/cribbage/
H A Dextern.c63 CARD deck[CARDS]; /* a deck */
64 CARD known[CARDS]; /* cards we have seen */
H A Ddeck.h39 #define CARDS 52 /* number cards in deck */ macro
H A Dcribbage.h34 extern CARD deck[ CARDS ]; /* a deck */
40 extern CARD known[ CARDS ]; /* cards we have seen */
H A Dcards.c79 for (j = CARDS; j > 0; --j) {
H A Dcrib.c235 i = (rand() >> 4) % CARDS; /* random cut */
237 j = (rand() >> 4) % CARDS;
406 i = (rand() >> 4) % (CARDS - pos);
416 i = (rand() >> 4) % (CARDS - pos) + pos;
H A Dsupport.c245 CARD d[CARDS], h[FULLHAND], cb[2];
253 nc = CARDS;
/netbsd-6-1-5-RELEASE/games/fish/
H A Dfish.c63 #define CARDS 4 macro
64 #define TOTCARDS RANKS * CARDS
214 } while (!comphand[lmove] || comphand[lmove] == CARDS);
229 comphand[i] > 0 && comphand[i] < CARDS) {
235 if (comphand[i] && comphand[i] != CARDS) {
240 if (comphand[i] != CARDS &&
252 if (comphand[i] && comphand[i] != CARDS &&
267 if (player == USER || hand[card] == CARDS) {
270 if (hand[card] == CARDS) {
305 if (hand[move] == CARDS) {
[all...]

Completed in 312 milliseconds