|
|
1.1 root 1: /* @(#)cribbage.h 1.4 (Berkeley) 5/19/83 */
2:
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 */
19: extern int Lastscore[2]; /* previous score for each */
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 */
25: extern BOOLEAN playing; /* currently playing game */
26:
27: extern char expl[]; /* string for explanation */
28:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.