Click here to Skip to main content
15,888,085 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
The program should select and display a random Country from a list of countries and the user must select the right answer from a list of randomly selected capital cities.
For example:
Country Capital
France Rome
Madrid
Paris
Tokyo

Class Design

Design two classes

Country class
o Country name
o Country capital
Score
o Right guesses
o Wrong guesses
o Total guesses
o Percent right
Game Description

1. The user presses “New Game” button and a random country name is selected from the list of countries read from the input file. The program displays four random guesses of capital names for the user to choose from (be creative).

2. If the user selects the right answer  increase right count, total count and percent right and display all information

3. If the user selects the wrong answer  increase wrong count and display all information. The program should also display the right answer in this case


4. The game must show time remaining for selecting the answer (be creative)

5. The game should have three difficulties: for the user to select the difficulty of the game. The difficulty should be tied to the amount of time the user has to select an answer. The maxim time should be 30 seconds and the minimum is 5 seconds.

6. The user should have access to all country and capital information for learning but NOT during the guessing process for learning purpose. To Learn, the user should be able to select a country and see its capital or select a capital and see its country


7. You can use AJAX container wherever you see appropriate.

im not telling you to solve my homework, im just trying to get some initial help. this is my first asp.net project so please no flaming
Posted
Updated 16-Feb-10 11:45am
v2

First of all, don't post an 'answer' that is a reply, edit your post. I deleted your bogus answer.

This is quite complex for a first ASP.NET project. It's also insane that you're encouraged to use AJAX. It seems like there's a whole new breed of pretend developers who can do basic cut and paste designer stuff just fine, so long as the libraries exist to do the actual work.

There is no way to give an answer to this question without doing your homework for you. You presumably have reference materials and a teacher. If you don't know how to even start, you should talk to your teacher. If you've written something and can't get it to work, by all means, ask specific questions here.

Either way, I think your course is run by retards, unless you have a lot of VB or C# experience and you're just moving on to ASP.NET, in which case this should be pretty simple.
 
Share this answer
 
Do you have a question? Or do you think someone is going to do your homework for you?
 
Share this answer
 
Then start by drawing, on paper, what you want your page to look like, then build it...then program it to do what you've been asked to do.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900