Ch 9: “What do players want?”
Ch 10: “How do you know what your opponent is going to do?”
On the subject of chatbots, we’re going to build a simple MadLibs generator. The first step will be to take words and pluralize them. For that we’ll need to read of on some rules on how to pluralize different types of words.
It’s easy to simply add an ‘s’ to the end of the word. We want to find a way to add ‘es’ to words with specific endings.