aboutsummaryrefslogtreecommitdiff
path: root/chatbot.c
diff options
context:
space:
mode:
Diffstat (limited to 'chatbot.c')
-rw-r--r--chatbot.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/chatbot.c b/chatbot.c
index 3cb5c36..7ef3b69 100644
--- a/chatbot.c
+++ b/chatbot.c
@@ -3,19 +3,6 @@
#include "strings.h"
#include <games.h>
#include <string.h>
-void remove_punct(char* buf)
-{
- for(int i=0;buf[i];++i)
- {
- for(int j=0;j<sizeof(punctuation_marks)/sizeof(char);++j)
- {
- if(buf[i]==punctuation_marks[j])
- {
- memmove(&buf[i], &buf[i+1], strlen(buf)-i);
- }
- }
- }
-}
void do_chatbot(void)
{
int stage=0; /* stage 0: i'm fine how are you... ->