This idea comes from my kids (5 and 8) who like to play the "Animal Game" with an Amazon Echo. The "guesser" asks a series of yes or no questions to try to guess the animal the player is thinking of. There is a reddit programming challenge on this same topic. This is also related to the topic of Decision Trees which I hope to cover in a video tutorial soon.
To run, launch terminal (or equivalent):
$ node animalgame.js
I would like to make this into a chat or twitter bot or web application at some point and also improve its sophistication / features. Any help appreciated!