含地图编辑功能的推箱子游戏讲述.doc
文本预览下载声明
LANZHOU UNIVERSITY OF TECHNOLOGY
毕业设计
题 目 含地图编辑功能的推箱子游戏
学生姓名 苏 宁
学 号 1 2 2 4 0 3 2 1
专业班级 计算机科学与技术(3)班
指导教师 刘 树 群
学 院 计算机与通信学院
答辩日期 2016年6月15日
含地图编辑功能的推箱子游戏
Map editing functions including Sokoban game
苏宁(SU NING)
摘要
伴随着快速前进的科学技术,对于Visual C++语言的使用也在越来越多。Visual C++语言就现在来说是当今社会上相对来说受欢迎的计算机较高等级编程语言之一,它更是面向于对象的可视化集成编程的一个系统。不仅可以自动产生程序框架,还有编写代码、灵活方便的类管理、界面设计集成交互系统、多种程序开发等许多优点,而且使用一些简单的设置就能用产成的程序框架使数据库接口、OLE2、WinSock网络、3D相应的界面能够运行。它还有高级除错功能和自动编译功能。所以,受到许多编程人员的喜欢。它不但能够作为系统描述语言,也用来编写系统软件和应用软件,更可以用来进行游戏设计。
该系统是想使用Microsoft Visual C++语言来完成一个简单的游戏——推箱子,用来表述推箱子游戏的实现,一步一步的说明Microsoft Visual C++6.0图形编辑所用的技巧。设计通过主界面对话框类、关口选择对话框类、帮助对话框类三大类以及键盘操作模块、游戏规则模块、地图文件读取模块、地图绘制模块、演示解法模块,共五大模块构成。完成了关卡的任意选择、越来越难的游戏设置、游戏中所遇困难的解决、游戏是否过关的判断多个功能,运用图形函数的进而完成功能较为完善的一个推箱子游戏的运行界面,能够直观的认识该界面。
关键词:推箱子;模块;图形编辑
ABSTRACT
In recent years,with the rapid development of science and technology,Visual C++ language application are continuously in depth.Visual C++ language is very popular on the current international advanced programming language of the computer,it is an object-oriented programming system integration of visualization.It not only has the program frame automatically generate,flexible convenient class management,coding and interface design integration,can develop a variety of interactive operation procedures and other advantages,and through the simple settings will be able to make its generated programming framework support database interface,OLE2,WinSock network,3D control interface.It more for automatic compiler function and senior debugging is famous for its function.Therefore,widely favored by programming staff.not only for the system description language,which is also used to write the system software,can also be used to write application,which is also used to write the system software,can also be used to write applica
显示全部