我需要设计和开发ASP.NET程序的帮助,该程序可作为Country vs. Capital的猜谜游戏 [英] I need help to design and develop an ASP.NET program that function as a guessing game of Country vs. Capital

查看:78
本文介绍了我需要设计和开发ASP.NET程序的帮助,该程序可作为Country vs. Capital的猜谜游戏的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

程序应从国家列表中选择并显示一个随机国家,并且用户必须从随机选择的首府城市列表中选择正确的答案.
例如:
国家首都
法国罗马
马德里
巴黎
东京

类设计

设计两个班级

国家/地区类别
o国名
o国家首都
得分
o正确的猜测
o错误的猜测
o总猜测
o权利百分比
游戏说明

1.用户按下新游戏"按钮,然后从输入文件中读取的国家/地区列表中选择一个随机的国家/地区名称.该程序显示四个随机的大写字母猜测名称,以供用户选择(富有创造力).

2.如果用户选择正确的答案增加正确的计数,总计数和正确的百分比并显示所有信息

3.如果用户选择了错误的答案增加错误的计数并显示所有信息.在这种情况下,程序还应显示正确的答案


4.游戏必须显示选择答案的剩余时间(富有创造力)

5.游戏应具有三个难度:供用户选择游戏的难度.难度应与用户必须选择答案的时间有关.最长时间为30秒,最短为5秒.

6.用户应有权访问所有国家和首都信息以进行学习,但不能在猜测过程中用于学习.要学习,用户应该能够选择一个国家并查看其首都或选择一个首都并查看其国家


7.您可以在适当的地方使用AJAX容器.

我没有告诉你解决我的作业,我只是想获得一些初步的帮助.这是我的第一个asp.net项目,所以请不要燃烧

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

推荐答案

首先,不要发布作为答复的答案",请编辑您的帖子.我删除了你的虚假答案.

对于第一个ASP.NET项目,这是相当复杂的.鼓励您使用AJAX也很疯狂.似乎有一种全新的假装开发人员,他们可以很好地完成基本的剪切和粘贴设计器工作,只要存在可以执行实际工作的库即可.

如果没有为您做功课,就无法回答这个问题.您大概有参考资料和老师.如果您甚至不知道如何开始,都应该与您的老师交谈.如果您已经写了一些东西而不能使它正常工作,请在此处提出具体问题.

无论哪种方式,我都认为您的课程是一门简单的课程,除非您有很多VB或C#的经验,而您只是转而使用ASP.NET,在这种情况下,这应该很简单.
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.


有问题吗?还是您认为有人要为您做功课?
Do you have a question? Or do you think someone is going to do your homework for you?


然后首先在纸上画出您想要的页面外观,然后构建它……然后程序它可以完成您要求执行的操作.
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.


这篇关于我需要设计和开发ASP.NET程序的帮助,该程序可作为Country vs. Capital的猜谜游戏的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆