Write a program that can have this conversation with you:
Hello, what is your name?
Nice to meet you John
My name is Eliza
How do you feel now John?
I feel sad sometimes too.
Why do you feel sad?
> there are only three weeks left in the Challenge
I know how you feel John
The program should print the questions and use input to get the answers (shown above in black). It should use the answers later in its responses (so if you type Nicky instead of John in the first step, it would use Nicky in all the later responses.
The conversation should be exactly the same as the example above, except with different responses from the user substituted in. It is amazing how human sounding the conversation can be already!
In the last step (answering Why do you feel <feeling>?), if you try to ask Eliza a question (ending with ?), then instead of I know how you feel <name>, Eliza should say: Hey! I ask the questions.
With a little more work, you might be able to convince someone that a computer really can have feelings!
Don't answer until I post my code though.!!!!
Last edited by el_manu
on Tue Aug 20, 2013 12:53 pm, edited 1 time in total.