Guys - you are taking this far too seriously. It was just supposed to be a bit of humour and something to make you smile. I do have a working version of 20 questions, which does learn from previous players, a bit like the Akinator website:
http://www.square-bear.co.uk/aiml/20questions.aiml
The only things that need finishing is a bit of grammar on some of the responses and to start the search at the top of the tree each time. It starts with a knowledge base of just one animal and grows as the users play and add more branches. This produces conversations like the following:
Mitsuku: Think of an animal and I will try to guess what it is. Are you ready to play 20 Questions?
Human: Yes
Mitsuku: Is it a fox?
Human: No
Mitsuku: What is it?
Human: A bird
Mitsuku: What is a question to distinguish between a fox and a bird?
Human: Can it fly?
Mitsuku: For a fox, is the answer yes or no?
Human: No
Mitsuku: Think of an animal and I will try to guess what it is. Are you ready to play 20 Questions?
Human: Yes
Mitsuku: Can it fly?
Human: Yes
Mitsuku: Is it a bird?
Human: No
Mitsuku: What is it?
Human: A bat
Mitsuku: What is a question to distinguish between a bird and a bat?
Human: Is it a mammal?
.... and so on. The tree grows, as the users play more and add new animals to it. The beauty of the game is that I only need to add one initial animal “a fox” and the users do all the work by thinking of other animals and writing the questions. It can currently handle 100 animals but this can be extended by adding more numbers to the last category in the file.
Feel free to use it in your Pandorabots or dissect the code and adapt it for your own bots. I am happy to answer any questions on how it works.