How was 20Q made?

Posted by Dan the Man on Game Development See other posts from Game Development or by Dan the Man
Published on 2012-10-15T21:30:16Z Indexed on 2012/10/15 21:50 UTC
Read the original article Hit count: 271

Filed under:
|

Ever since I was a kid, I've wondered how they made the 20Q electronic game. In this game, which is it's on device, you think of an object, thing, or animal (e.g. a potato or a donkey), once you mentally choose your thing, the device goes through a series of questions such as:

  • Is it larger than a loaf of bread?
  • Is it found outdoors?
  • Is it used for recreation?

For each of the questions you can answer yes, no, maybe, or unknown. The way I've always thought of it to work was with immense, nested conditionals (if statements). But, I don't think that would be very likely as it would be terribly difficult to understand while coding it.

I'm not looking for a discussion as SE doesn't allow it; I'm looking for concrete knowledge or solutions.

© Game Development or respective owner

Related posts about ai

Related posts about game-mechanics