C++课程设计源码.docVIP

  • 19
  • 0
  • 约6.49万字
  • 约 75页
  • 2018-06-09 发布于河南
  • 举报
C课程设计源码

课程设计题目:小游戏“终结者”程序的设计与实现 本科学生课程设计任务书 课程设计题目 基于ezWindow图形库的游戏程序开发 学院 软件学院 专业 软件工程 年级 2010 已知参数和设计要求: 该课程设计在软件学院教学实验中心进行。学生应独立完成该课程设计的游戏程序 - 终结者(Terminator)软件项目。游戏程序采用面向对象的设计与编程方法,有效代码量不低于800行。代码编写应规范,整洁,对象命名清楚可理解。课程设计完成后应提交课程设计报告的电子文档和完整的项目文件(包括源程序、项目文件、数据文件以及相应的可执行文件)。 学生应完成的工作: 按照设计指导书中提出的对终结者游戏的需求,采用面向对象的方法,完成游戏的设计; 完成有效代码量不低于800行的程序; 完成相应的设计文档,即课程设计报告。 目前资料收集情况(含指定参考资料): 面向对象程序设计课程教材《C++ Program Design》 课程设计的工作计划: 6月8日~6月10日:阅读相关资料,完成游戏设计; 6月11日~6月20日:完成游戏编程; 6月21日~6月25日:完成课程设计报告。 任务下达日期 2011 年 6 月 8 日 完成日期 2011 年 6 月 25 日 指导教师 (签名) 学 生 赵晨丘 (签名) 程序名称: 终结者(Terminator) 项目时间: 2011-6-8 ~ 2011-6-25 开发平台: Microsoft Visual C++ 6.0/2008, EzWindow library 课程设计目的: The objective of this course project is to gain practice with object-oriented design and object-oriented programming using C++ language. 问题描述: Design and implement a new game called Terminator. In this game, the player controls a robot (use the bitmaps from Chapter 11). The object of the game is to chase the bugs with the robot and “terminate” them. A bug is terminated when the robot catches the bug by touching it. Like Bug Hunt, there are two types of bugs — a slow bug and a fast bug. To control the movement of the robot, you should create a separate window that has control arrows in it. By clicking on an arrow, the player causes the robot to move in that direction. To make the game challenging, design the bugs so that they can travel through walls. That is, when a bug hits the edge of the window, it should reappear at the opposite window edge. A robot cannot travel through walls. Be sure to design your game so that it is easy to add different types and numbers of bugs. You should initially allow for three slow bugs and two fast bugs. 程序功能需求说明: 画出一个窗口,然后虫子在窗口上到处乱跑,玩游戏的人的目的就是操作终结者(一个小小的木叶忍者村的代表标志)将所有的虫子消灭,终结者使用枪械,可以发射任意方向的子弹,但虫子的移动速度也比较快。而且终结者碰到虫子就会死掉。虫子不会跑出窗口之外,但有一定的几率躲避子弹(即打中了也不死)。子弹发出有枪声的音乐背景,游戏时有音乐背景,有模仿2D版的CS一样,两者之间的差距犹如齐天大圣和太上老君火炉的炉灰的差距

文档评论(0)

1亿VIP精品文档

相关文档