Making an interactive Chat bot | Sololearn: Learn to code for FREE!


Making an interactive Chat bot

I am working on my own Chat bot in Java. Any suggestions on how to make it funny and interactive will be highly appreciated. :) You can post relevant links too :)

2/26/2017 8:35:24 AM

Mohd Danish

1 Answer

New Answer


Some people like to hail profanity at bots to see their reaction, so create an array of naughty words and respond accordingly if they use directed sentences like: you're a NAUGHTY WORD you NAUGHTY WORD are you a NAUGHTY WORD? I hope this doesn't baffle you, but they're are various ways to make this work and I'm afraid I can't elaborate to my full extent here. You'll have to establish whether it's a question or direct insult. Google "chat bot logic".