integrate with dm
[unix-history] / usr / src / games / cribbage / cribbage.h
CommitLineData
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
9extern CARD deck[ CARDS ]; /* a deck */
10extern CARD phand[ FULLHAND ]; /* player's hand */
11extern CARD chand[ FULLHAND ]; /* computer's hand */
12extern CARD crib[ CINHAND ]; /* the crib */
13extern CARD turnover; /* the starter */
14
15extern CARD known[ CARDS ]; /* cards we have seen */
16extern int knownum; /* # of cards we know */
17
18extern int pscore; /* player's score */
19extern int cscore; /* comp's score */
20extern int glimit; /* points to win game */
21
22extern int pgames; /* player's games won */
23extern int cgames; /* comp's games won */
24extern int gamecount; /* # games played */
5836528f 25extern int Lastscore[2]; /* previous score for each */
13e793a1
KA
26
27extern BOOLEAN iwon; /* if comp won last */
28extern BOOLEAN explain; /* player mistakes explained */
29extern BOOLEAN rflag; /* if all cuts random */
30extern BOOLEAN quiet; /* if suppress random mess */
5836528f 31extern BOOLEAN playing; /* currently playing game */
13e793a1
KA
32
33extern char expl[]; /* string for explanation */
34