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

/netbsd-current/games/cribbage/
H A Dextern.c64 CARD deck[CARDS]; /* a deck */
65 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.c241 i = (rand() >> 4) % CARDS; /* random cut */
243 j = (rand() >> 4) % CARDS;
412 i = (rand() >> 4) % (CARDS - pos);
422 i = (rand() >> 4) % (CARDS - pos) + pos;
H A Dsupport.c245 CARD d[CARDS], h[FULLHAND], cb[2];
253 nc = CARDS;
/netbsd-current/games/fish/
H A Dfish.c62 #define CARDS 4 macro
63 #define TOTCARDS RANKS * CARDS
221 } while (!comphand[lmove] || comphand[lmove] == CARDS);
236 comphand[i] > 0 && comphand[i] < CARDS) {
242 if (comphand[i] && comphand[i] != CARDS) {
247 if (comphand[i] != CARDS &&
259 if (comphand[i] && comphand[i] != CARDS &&
274 if (player == USER || hand[card] == CARDS) {
277 if (hand[card] == CARDS) {
312 if (hand[move] == CARDS) {
[all...]

Completed in 129 milliseconds