/netbsd-6-1-5-RELEASE/games/cribbage/ |
H A D | cribbage.h | 34 extern CARD deck[ CARDS ]; /* a deck */ 35 extern CARD phand[ FULLHAND ]; /* player's hand */ 36 extern CARD chand[ FULLHAND ]; /* computer's hand */ 37 extern CARD crib[ CINHAND ]; /* the crib */ 38 extern CARD turnover; /* the starter */ 40 extern CARD known[ CARDS ]; /* cards we have seen */ 60 int adjust(const CARD [], CARD); 61 int anymove(const CARD [], int, int); 63 int cchose(const CARD [], in [all...] |
H A D | extern.c | 61 CARD chand[FULLHAND]; /* computer's hand */ 62 CARD crib[CINHAND]; /* the crib */ 63 CARD deck[CARDS]; /* a deck */ 64 CARD known[CARDS]; /* cards we have seen */ 65 CARD phand[FULLHAND]; /* player's hand */ 66 CARD turnover; /* the starter */
|
H A D | cards.c | 54 makedeck(CARD d[]) 74 shuffle(CARD d[]) 77 CARD c; 91 eq(CARD a, CARD b) 100 is_one(CARD a, const CARD b[], int n) 114 cremove(CARD a, CARD d[], int n) 130 sorthand(CARD [all...] |
H A D | deck.h | 80 } CARD; typedef in typeref:struct:__anon2964
|
H A D | score.c | 49 static int fifteens(const CARD [], int); 50 static int pairuns(const CARD [], int); 111 scorehand(const CARD hand[], CARD starter, int n, BOOLEAN crb, 117 CARD h[(CINHAND + 1)]; 184 fifteens(const CARD hand[], int n) 188 const CARD *endp; 225 pairuns(const CARD h[], int n) 292 pegscore(CARD crd, const CARD tb [all...] |
H A D | support.c | 54 static int anysumto(const CARD[], int, int, int); 56 static int numofval(const CARD[], int, int); 63 cchose(const CARD h[], int n, int s) 134 plyrhand(const CARD hand[], const char *s) 168 comphand(const CARD h[], const char *s) 245 CARD d[CARDS], h[FULLHAND], cb[2]; 295 anymove(const CARD hand[], int n, int sum) 314 anysumto(const CARD hand[], int n, int s, int t) 329 numofval(const CARD h[], int n, int v) 345 makeknown(const CARD [all...] |
H A D | io.c | 61 static int msgcrd(CARD, BOOLEAN, const char *, BOOLEAN); 62 static void printcard(WINDOW *, int, CARD, BOOLEAN); 63 static int incard(CARD *); 89 msgcard(CARD c, BOOLEAN brief) 102 msgcrd(CARD c, BOOLEAN brfrank, const char *mid, BOOLEAN brfsuit) 124 printcard(WINDOW *win, int cardno, CARD c, BOOLEAN blank) 134 prcard(WINDOW *win, int y, int x, CARD c, BOOLEAN blank) 157 prhand(const CARD h[], int n, WINDOW *win, BOOLEAN blank) 173 infrom(const CARD hand[], int n, const char *prompt) 176 CARD cr [all...] |
H A D | crib.c | 368 CARD crd; 462 static CARD Table[14]; 468 static CARD ch[CINHAND], ph[CINHAND]; 473 CARD crd;
|
/netbsd-6-1-5-RELEASE/games/mille/ |
H A D | types.c | 48 is_repair(CARD card) 56 safety(CARD card)
|
H A D | mille.h | 55 #define CARD short macro 177 CARD hand[HAND_SZ]; 178 CARD sh_hand[HAND_SZ]; 179 CARD battle; 180 CARD sh_battle; 181 CARD speed; 182 CARD sh_speed; 222 extern CARD Deck[DECK_SZ], Discard, Sh_discard, *Topcard; 223 extern const CARD Opposite[NUM_CARDS]; 235 void account(CARD); [all...] |
H A D | extern.c | 136 CARD Discard, /* Top of discard pile */ 139 const CARD Opposite[NUM_CARDS] = { /* Opposites of each card */ 144 CARD Deck[DECK_SZ] = { /* Current deck */
|
H A D | print.c | 50 static void show_card(int, int, CARD, CARD *); 109 show_card(int y, int x, CARD c, CARD *lc)
|
H A D | move.c | 178 CARD card; 210 CARD card; 509 account(CARD card) 511 CARD oppos; 565 sort(CARD *hand) 567 CARD *cp, *tp; 568 CARD temp;
|
H A D | comp.c | 52 CARD card; 58 CARD safe, oppos; 406 CARD bat, spd, card; 436 canplay(const PLAY *pp, const PLAY *op, CARD card)
|
H A D | init.c | 52 CARD card; 95 CARD temp;
|
H A D | misc.c | 73 CARD
|