6.1.2 animal.ex

Guess the Animal game. It learns as you play.

6.1.2.1 How it Works

animal.ex builds up a tree structure that tells it what question to ask, and which branch to follow in the tree depending on whether the answer is Yes or No.

6.1.2.2 animal

include animal.ex
global procedure animal()