Commit | Line | Data |
---|---|---|
9a6fbd6d KA |
1 | /* @(#)cribbage.h 1.4 (Berkeley) %G% */ |
2 | ||
13e793a1 KA |
3 | extern CARD deck[ CARDS ]; /* a deck */ |
4 | extern CARD phand[ FULLHAND ]; /* player's hand */ | |
5 | extern CARD chand[ FULLHAND ]; /* computer's hand */ | |
6 | extern CARD crib[ CINHAND ]; /* the crib */ | |
7 | extern CARD turnover; /* the starter */ | |
8 | ||
9 | extern CARD known[ CARDS ]; /* cards we have seen */ | |
10 | extern int knownum; /* # of cards we know */ | |
11 | ||
12 | extern int pscore; /* player's score */ | |
13 | extern int cscore; /* comp's score */ | |
14 | extern int glimit; /* points to win game */ | |
15 | ||
16 | extern int pgames; /* player's games won */ | |
17 | extern int cgames; /* comp's games won */ | |
18 | extern int gamecount; /* # games played */ | |
5836528f | 19 | extern int Lastscore[2]; /* previous score for each */ |
13e793a1 KA |
20 | |
21 | extern BOOLEAN iwon; /* if comp won last */ | |
22 | extern BOOLEAN explain; /* player mistakes explained */ | |
23 | extern BOOLEAN rflag; /* if all cuts random */ | |
24 | extern BOOLEAN quiet; /* if suppress random mess */ | |
5836528f | 25 | extern BOOLEAN playing; /* currently playing game */ |
13e793a1 KA |
26 | |
27 | extern char expl[]; /* string for explanation */ | |
28 |