Rust implementation of the animal guessing game, where the computer learns about animals and then guesses them with yes/no answers.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
375 B

0,1,2,Does it quack?
1,0,0,duck
2,3,4,Is it wild?
3,5,6,Does it fly?
4,15,16,Does it woof?
5,7,8,Is it colourful?
6,13,14,Does it eat acorns?
7,0,0,parrot
8,9,10,Does it have a big beak?
9,11,12,Does it swim?
10,0,0,raven
11,0,0,swan
12,0,0,eagle
13,0,0,boar
14,0,0,wolf
15,0,0,dog
16,17,18,Does it give milk?
17,19,20,Is it grown for meat?
18,0,0,pig
19,0,0,cow
20,0,0,goat