basic-computer-games icon indicating copy to clipboard operation
basic-computer-games copied to clipboard

Java version of Animal does not work

Open patimen opened this issue 4 years ago • 3 comments

It is using the list of questions as a pure list instead of a tree. So the questions will continue, instead of terminate: THINK OF AN ANIMAL AND THE COMPUTER WILL TRY TO GUESS IT. ARE YOU THINKING OF AN ANIMAL ? Y DOES IT SWIM ? N IS IT A BIRD ? N THE ANIMAL YOU WERE THINKING OF WAS A DOG PLEASE TYPE IN A QUESTION THAT WOULD DISTINGUISH A DOG FROM A BIRD DOES IT FLY FOR A DOG THE ANSWER WOULD BE N ARE YOU THINKING OF AN ANIMAL ? Y DOES IT SWIM ? Y IS IT A FISH ? N DOES IT FLY ?

The "DOES IT FLY" should not appear.

patimen avatar Jan 03 '22 00:01 patimen

ah interesting, thank you for bringing this up, we should check in with whoever contributed that PR and ask them perhaps?

coding-horror avatar Jan 03 '22 00:01 coding-horror

I believe @aldrinm is the author of this one. Can you check out the comments from @patimen and let us know?

Thanks

journich avatar Jan 12 '22 02:01 journich

We think this has fixed it! Reply if not.

coding-horror avatar Jan 16 '22 19:01 coding-horror