Mission Description

Build a 20 questions Java program that guesses an animal


Expired

Posted on Nov 29, 2018

Chicago, IL, USA

Budget: 5000

Negotiable


For this project, you will be implementing the popular guessing game "20 Questions." The game is typically played between a group of people, where one person will think of any "thing" (person, place, etc...) in their head. The rest of the group will ask up to 20 yes/no questions to try and guess the thing. If the group is able to guess within 20 questions, they win! If not, they lose. For this assignment, you will be implementing a digital version of this game, with one twist. We are limiting the class of guessable "things" to just animals. Generally speaking, we are asking you to: 1. Parse a database of animals (provided by us) into an array of `Animal` instances (a class you will write). 2. Pick a random animal from the array 3. Allow a player to ask up to 20 yes/no `Question`'s (a class you will write) to try to guess that animal.

Attach Document:


Download Now

Users Comments

No Comment Found..