From 7c3ee246fb626ab09b3b05055efdfaf3a00e60e7 Mon Sep 17 00:00:00 2001 From: Franklin Wei Date: Mon, 23 Jun 2014 17:04:30 -0400 Subject: Fixed more bugs, added more features :) --- chatbot.c | 15 +++++++++++++++ games.c | 59 ++++++++++++++++++++++++++++++++++++----------------------- joshua.c | 1 + location.h | 28 +++++++++++++++------------- main.cpp | 1 + strings.c | 17 +++++++++++++++++ strings.h | 6 ++++-- util.c | 9 +++++++++ 8 files changed, 98 insertions(+), 38 deletions(-) diff --git a/chatbot.c b/chatbot.c index ddc0eff..6217696 100644 --- a/chatbot.c +++ b/chatbot.c @@ -4,6 +4,7 @@ #include #include #include +#include void do_chatbot(void) { int stage=0; /* stage 0: i'm fine how are you... -> @@ -39,6 +40,7 @@ void do_chatbot(void) valid=true; } } + break; case 1: for(int i=0;i