HomeSort by: relevance | last modified time | path
    Searched defs:CARDS (Results 1 - 2 of 2) sorted by relevancy

  /src/games/cribbage/
deck.h 35 * define structure of a deck of cards and other related things
39 #define CARDS 52 /* number cards in deck */
43 #define CINHAND 4 /* # cards in cribbage hand */
44 #define FULLHAND 6 /* # cards in dealt hand */
  /src/games/fish/
fish.c 62 #define CARDS 4
63 #define TOTCARDS RANKS * CARDS
69 static const char *const cards[] = { variable in typeref:typename:const char * const[]
73 #define PRC(card) (void)printf(" %s", cards[card])
164 (void)printf("%d cards in my hand, %d in the pool.\n",
183 for (p = cards; *p; ++p)
190 n = p - cards;
203 (void)printf("You don't have any %s's!\n", cards[n]);
221 } while (!comphand[lmove] || comphand[lmove] == CARDS);
225 (void)printf("I ask you for: %s.\n", cards[lmove])
    [all...]

Completed in 12 milliseconds