home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Devil's Doorknob BBS Capture (1996-2003)
/
devilsdoorknobbbscapture1996-2003.iso
/
W
/
ATIMPY.ZIP
/
STIMPY.C
< prev
Wrap
C/C++ Source or Header
|
1992-02-18
|
816b
|
54 lines
#include <dos.h>
#include <math.h>
#include <conio.h>
#include <stdio.h>
#include <stdlib.h>
#include <stdarg.h>
#include <graphics.h>
/*#define n 1
#define north 1
#define s 2
#define south 2*/
main()
{
char name[30];
char nogo[30];
char ch,s1[10];
puts("Welcome! You have just entered Stimpy's Realm! You have just stepped");
puts("into a huge masion and the heavy wooden door has locked behind you!");
printf("What is your name? ");
scanf("%s",name);
printf("Goodluck in your quest %s\n",name);
strcpy(nogo,"You can't go that way!");
printf("? ");
scanf("%s",ch);
{ switch (ch) {
case 'N':
puts("You are at the bottom of the stairs");
break;
case 'S':
puts(nogo);
break;
}
}
}