|
|
DataMuseum.dkPresents historical artifacts from the history of: DKUUG/EUUG Conference tapes |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about DKUUG/EUUG Conference tapes Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - downloadIndex: T h
Length: 712 (0x2c8)
Types: TextFile
Names: »hangman.h«
└─⟦b20c6495f⟧ Bits:30007238 EUUGD18: Wien-båndet, efterår 1987
└─⟦this⟧ »EUUGD18/General/Hangman/hangman.h«
# include <curses.h>
# include <sys/types.h>
# include <sys/stat.h>
# include <ctype.h>
# include <signal.h>
# define MINLEN 6
# define MAXERRS 7
# define DICT "/usr/dict/words"
# define MESGY 12
# define MESGX 0
# define PROMPTY 11
# define PROMPTX 0
# define KNOWNY 10
# define KNOWNX 1
# define NUMBERY 4
# define NUMBERX (COLS - 1 - 26)
# define AVGY 5
# define AVGX (COLS - 1 - 26)
# define GUESSY 2
# define GUESSX (COLS - 1 - 26)
typedef struct {
short y, x;
char ch;
} ERR_POS;
extern bool Guessed[];
extern char Word[], Known[], *Noose_pict[];
extern int Errors, Wordnum;
extern double Average;
extern ERR_POS Err_pos[];
extern FILE *Dict;
extern off_t Dict_size;
int die();
off_t abs();