Annotation of 42BSD/games/cribbage/extern.c, revision 1.1

1.1     ! root        1: static char *sccsid = "@(#)extern.c    1.3 (Berkeley) 5/19/83";
        !             2: # include      <curses.h>
        !             3: # include      "deck.h"
        !             4: # include      "cribbage.h"
        !             5: 
        !             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 */
        !            10: 
        !            11: char   expl[128];                      /* explanation */
        !            12: 
        !            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 */
        !            20: 
        !            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 */
        !            27: 
        !            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 */

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.