1 #include "adventure.h" 2 3 #include <stdio.h> 4 #include <stdlib.h> 5 #include <string.h> 6 7 int 8 main() 9 { 10 printf("Welcome to Little Cave Adventure.\n"); 11 12 exec_look_around(); 13 14 while (getinput() && parseexec(line)) 15 ; 16 17 printf("\nBye!\n"); 18 return 0; 19 }