C++课程设计-教学游戏.docVIP

  1. 1、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
  2. 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  3. 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
  4. 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
  5. 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们
  6. 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
  7. 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
《面向对象程序设计》 课程设计 题 目: 教学游戏 院 系: 数学与计算科学 专 业: 信息与计算科学 姓名学号: 指导老师: 日 期: 2014 年 12 月 01 日 摘 要 这次课程设计是编写一个教学游戏,教授学生学习算术计算。程序将对加法和减法进行测试。程序共有四个难度级别,第1级测试两个小于10并且和也小于10的数字加法;第2级进行任何两个1位数字的加法;第3级是差为非负的两个1位数的减法。程序将随机产生问题并读取游戏参与者输入的答案;第4级是执行一个两位数的加法。对于每一个问题,游戏参与者都有两次回答问题的机会。在得到5分后游戏进入下一级。为此,本文首先通过建立CRC卡片分析程序要求,拟定要建立的类与功能,然后建立UML类图,把功能函数具体化,最后进行代码的填充和调试。此外,我还设计了一个简单的控制台界面,使得游戏的互动操作更加友好,具体的分析可以详见下文,经过最后运行结果的调试是没有问题的,本次课程设计对于我来说也是有一定的启示意义的,让我学到了许多面向对象开发的流程和技巧。 关键字:教学游戏 算术计算 CRC卡片 UML类图 Abstract This course is designed to write a teaching games, teaching students to grasp arithmetic calculations.?The program will be tested on addition and subtraction.?The program with a total of four difficulty levels, the level 1 tests two less than 10 and their sum also less than 10 digital addition. the level 2 will be underway any two one digits addition. Level 3 is the difference for non-negative two one digits subtraction.?The program will be randomly generated problems and reads the game participants enter the answer; Phase 4 is to perform a double-digit addition.?For each question, the game players have two chances to answer the question.?After gaining five points the game turn to the next level.?Therefore, this paper through establishing CRC CARDS analyzes program requirements, working out a class and functions which needs to build, and then establish a UML class diagram, make the functions specifically, finally conducting fill and debug the code.?In addition, I also designed a simple console interface, makes the games interactive operation more friendly, the specific analysis can see below, debugging through the final results is not a problem, the course design also has a certain Enlightenment significance for me, let me learn a lot of object-oriented development process and techniques. Key wor

文档评论(0)

li455504605 + 关注
实名认证
文档贡献者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档