• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 699
  • Last Modified:

Guessing Game

I need to write a simple game that guesses an animal accoring to users input. It uses a "binary" tree (left, right, parent pointers) to build up a database. Program should be implemented using structs (not classes). Starts with a question"Does it have 4 legs" if Yes program guesses "Dog" if No "Bird", than prompts for another input. Im late on assignment, so I need help please!!!
0
Lana_K
Asked:
Lana_K
1 Solution
 
stefan73Commented:
Hi Lana_K,
We don't do your homework for you. Start coding, and if you have specific questions, come back.

Cheers!

Stefan
0
 
Lana_KAuthor Commented:
I don't need a code for the whole program I need ideas to make it stand out ! Suggestions on better implementations, any ideas to how to make the console more interesting. I already tried to make test red, but so far cant figure out how to make it work. I need a creative approach to an ordinary problem, NOT to do my homework.
0
 
bcladdCommented:
Console text color code: http://www.codeguru.com/Cpp/W-D/console/article.php/c3959/ (see http://www.experts-exchange.com/Programming/Programming_Languages/Cplusplus/Q_21136494.html for more comments on that).

Other interesting idea: Be able to give all the facts you have on the animal. I am assuming that your program learns? That is if you guess dog and I say NO you ask for the animal and a yes/no question that can tell a "cat" from a "dog" and then your question tree grows. Take a look at http://www.guessmaster.com/animal.asp for some of the possiblities.

If you have code questions, feel free to share your code and we would be happy to comment.

-bcl

0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now