xref: /original-bsd/games/hangman/extern.c (revision 4092c5cc)
1 /*
2  * Copyright (c) 1983, 1993
3  *	The Regents of the University of California.  All rights reserved.
4  *
5  * %sccs.include.redist.c%
6  */
7 
8 #ifndef lint
9 static char sccsid[] = "@(#)extern.c	8.1 (Berkeley) 05/31/93";
10 #endif /* not lint */
11 
12 # include	"hangman.h"
13 
14 bool	Guessed[26];
15 
16 char	Word[BUFSIZ],
17 	Known[BUFSIZ],
18 	*Noose_pict[] = {
19 		"     ______",
20 		"     |    |",
21 		"     |",
22 		"     |",
23 		"     |",
24 		"     |",
25 		"   __|_____",
26 		"   |      |___",
27 		"   |_________|",
28 		NULL
29 	};
30 
31 int	Errors,
32 	Wordnum = 0;
33 
34 double	Average = 0.0;
35 
36 ERR_POS	Err_pos[MAXERRS] = {
37 	{  2, 10, 'O' },
38 	{  3, 10, '|' },
39 	{  4, 10, '|' },
40 	{  5,  9, '/' },
41 	{  3,  9, '/' },
42 	{  3, 11, '\\' },
43 	{  5, 11, '\\' }
44 };
45 
46 FILE	*Dict = NULL;
47 
48 off_t	Dict_size;
49