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