Commit | Line | Data |
---|---|---|
9a6fbd6d | 1 | static char *sccsid = "@(#)extern.c 1.3 (Berkeley) %G%"; |
b9222c3d KA |
2 | # include <curses.h> |
3 | # include "deck.h" | |
4 | # include "cribbage.h" | |
5 | ||
39911be8 KA |
6 | bool explain = FALSE; /* player mistakes explained */ |
7 | bool iwon = FALSE; /* if comp won last game */ | |
8 | bool quiet = FALSE; /* if suppress random mess */ | |
9 | bool rflag = FALSE; /* if all cuts random */ | |
b9222c3d | 10 | |
39911be8 | 11 | char expl[128]; /* explanation */ |
b9222c3d | 12 | |
39911be8 KA |
13 | int cgames = 0; /* number games comp won */ |
14 | int cscore = 0; /* comp score in this game */ | |
15 | int gamecount = 0; /* number games played */ | |
16 | int glimit = LGAME; /* game playe to glimit */ | |
17 | int knownum = 0; /* number of cards we know */ | |
18 | int pgames = 0; /* number games player won */ | |
19 | int pscore = 0; /* player score in this game */ | |
b9222c3d | 20 | |
39911be8 KA |
21 | CARD chand[FULLHAND]; /* computer's hand */ |
22 | CARD crib[CINHAND]; /* the crib */ | |
23 | CARD deck[CARDS]; /* a deck */ | |
24 | CARD known[CARDS]; /* cards we have seen */ | |
25 | CARD phand[FULLHAND]; /* player's hand */ | |
26 | CARD turnover; /* the starter */ | |
b9222c3d | 27 | |
39911be8 KA |
28 | WINDOW *Compwin; /* computer's hand window */ |
29 | WINDOW *Msgwin; /* messages for the player */ | |
30 | WINDOW *Playwin; /* player's hand window */ | |
31 | WINDOW *Tablewin; /* table window */ |