It attempts to find the most important word in your sentence. It is simpler than other chatbots you see because I didn't add a lot of chatting logic yet, but it took a lot of thinking to try to make it see what is the topic of your sentence. It usually fails though. Please try and give me comments!
Logic and ideas: me