X-Git-Url: https://jxself.org/git/?p=wumpus.git;a=blobdiff_plain;f=wumpus.c;h=3afd5680919e03d6844c30872fd13d5c22ff3f1c;hp=bf9f0a6534955fc784c927f5d2fcdcf9b1d65806;hb=150263f9d9a1e078ecbc37fb810fcb1ac02b5382;hpb=cc6729cf4476397bafbf23ad0f8e14016052015f diff --git a/wumpus.c b/wumpus.c index bf9f0a6..3afd568 100644 --- a/wumpus.c +++ b/wumpus.c @@ -2,10 +2,7 @@ * wumpus.c --- a faithful translation of the classic "Hunt The Wumpus" game. * * Translator: Eric S. Raymond - * Version: $Id: wumpus.c,v 1.3 1993/11/07 19:19:27 esr Exp esr $ - * - * This was the state of the art 20 years ago, in 1972. We've come a long - * way, baby. + * Version: $Id: wumpus.c,v 1.4 1996/05/17 17:30:35 esr Exp esr $ * * The BASIC source is that posted by Magnus Olsson in USENET article * <9207071854.AA21847@thep.lu.se>: he wrote @@ -32,6 +29,11 @@ #include #include +#include +#include +#include +#include +#include /* 5 REM *** HUNT THE WUMPUS *** */ @@ -125,8 +127,6 @@ char *prompt; void print_instructions() { - char ebuf[BUFSIZ]; - /* 375 REM *** INSTRUCTIONS *** */ /* 380 PRINT "WELCOME TO 'HUNT THE WUMPUS'" */ puts("WELCOME TO 'HUNT THE WUMPUS'");