Home | History | Annotate | Download | only in fish

Lines Matching defs:cards

62 #define	CARDS		4
63 #define TOTCARDS RANKS * CARDS
69 static const char *const cards[] = {
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]);
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) {
276 (void)printf("drew %s", cards[card]);
277 if (hand[card] == CARDS) {
279 cards[card]);
307 opphand[move], cards[move], opphand[move] == 1 ? "": "'s");
312 if (hand[move] == CARDS) {
314 (void)printf("made a book of %s's!\n", cards[move]);
330 if (hand[i] > 0 && hand[i] < CARDS)
333 (void)printf("don't have any more cards!\n");
371 if (hand[i] < CARDS)
379 if (hand[i] == CARDS)
401 if (hand[i] == CARDS) {