Back to Parent

Reflection

This process forced me to explore new functionality that I hadn't yet dealt with in Ruby, which of course presented challenges. One of the things I struggled most with was the desire for flexibility in terms of user input. For example, I wanted the bot to accept a variety of inputs for someone asking about Arches National Park. I wanted "Arches, Arches National Park, Arches NP, Arches?," and all lowercase permutations to return the same result, so I needed to find functions like .include? to encompass these possibilities. 

If I were to work further on this bot, I would like to return imagery along with the descriptions for each park to make the experience more fun and visual. I would also try to work out why the response time on some of the messages are so slow. 😕


Content Rating

Is this a good/useful/informative piece of content to include in the project? Have your say!

0