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