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:19] frchris20_questions [2026/04/13 10:37] (current) frchris
Line 4: Line 4:
  
 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. 
 +
 +  * {{ ::twentyquestionsgamegui.java |TwentyQuestionsGameGUI}}
 +  * {{ ::questions.txt |questions.txt}}
 +  * {{ ::question.java |Question.java}}
 +  * {{ ::questions20game.java |Questions20Game.java}}
20_questions.txt · Last modified: by frchris

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki