User Tools

Site Tools


20_questions

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
20_questions [2025/06/16 14:17] frchris20_questions [2025/06/16 14:19] (current) frchris
Line 1: Line 1:
 ====== 20 Questions Game ====== ====== 20 Questions Game ======
  
-This is the classic game you can play in the car on a road trip.  It usually starts with One person thinking of something that is either an animal, or a mineral, or a vegetable.  The player gets 20 chances to ask a yes or no question.  Here is a video of [[https://www.youtube.com/shorts/4LWlUeJCASM|how people play this game]] and another video that talks about this game as a [[https://www.youtube.com/shorts/xPu2gg5xMW4|1980'version of AI]] +This is the classic game you can play in the car on a road trip.  It usually starts with One person thinking of something that is either an animal, or a mineral, or a vegetable.  The player gets 20 chances to ask a yes or no question.  Here is a video of [[https://www.youtube.com/shorts/4LWlUeJCASM|how people play this game]] and another video that talks about how this this game demonstrates the state of [[https://www.youtube.com/shorts/xPu2gg5xMW4|AI in the 1980's]] 
  
 In this lab we will write the code that will ask you to think of a thing, and then it has 20 "Yes or No" questions.  If you win (and you accurately answered the questions), you will be asked to invent a good question to distinguish between the computer's guess and your answer.  This information will be written in a text file, so next time it plays, it would be able to guess your thing.  In this lab we will write the code that will ask you to think of a thing, and then it has 20 "Yes or No" questions.  If you win (and you accurately answered the questions), you will be asked to invent a good question to distinguish between the computer's guess and your answer.  This information will be written in a text file, so next time it plays, it would be able to guess your thing. 
20_questions.txt · Last modified: 2025/06/16 14:19 by frchris

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki