date and time created 88/06/01 18:39:34 by bostic
[unix-history] / usr / src / games / hangman / extern.c
/*
* Copyright (c) 1987 Regents of the University of California.
* All rights reserved.
*
* Redistribution and use in source and binary forms are permitted
* provided that this notice is preserved and that due credit is given
* to the University of California at Berkeley. The name of the University
* may not be used to endorse or promote products derived from this
* software without specific prior written permission. This software
* is provided ``as is'' without express or implied warranty.
*/
#ifndef lint
static char sccsid[] = "@(#)extern.c 5.1 (Berkeley) %G%";
#endif /* not lint */
# include "hangman.h"
bool Guessed[26];
char Word[BUFSIZ],
Known[BUFSIZ],
*Noose_pict[] = {
" ______",
" | |",
" |",
" |",
" |",
" |",
" __|_____",
" | |___",
" |_________|",
NULL
};
int Errors,
Wordnum = 0;
double Average = 0.0;
ERR_POS Err_pos[MAXERRS] = {
{ 2, 10, 'O' },
{ 3, 10, '|' },
{ 4, 10, '|' },
{ 5, 9, '/' },
{ 3, 9, '/' },
{ 3, 11, '\\' },
{ 5, 11, '\\' }
};
FILE *Dict = NULL;
off_t Dict_size;