电脑桌面
添加小米粒文库到电脑桌面
安装后可以在桌面快捷访问

信息与计算科学-贪吃蛇小游戏的开发与设计论文

信息与计算科学-贪吃蛇小游戏的开发与设计论文_第1页
1/28
信息与计算科学-贪吃蛇小游戏的开发与设计论文_第2页
2/28
信息与计算科学-贪吃蛇小游戏的开发与设计论文_第3页
3/28
贪吃蛇小游戏的开发与设计摘要 贪吃蛇小游戏是一款大家都比较熟悉的小游戏,每个人基本都玩过,实现游戏的关键就是要构建好贪吃蛇在游戏界面中上下左右移动的框架,这样就比较容易的开发好这款小游戏。在本次毕业设计当中,我的题目是贪吃蛇小游戏的开发与设计。在这个设计当中所用的工具为 eclipse,在设计之初,通过对这款游戏的技术可行性和经济可行性进行了分析,了解了用户对这款小游戏的基本需求,我主要是通过创建了五个 java 类来实现贪吃蛇的一些功能,通过创建食物类实现了食物的构建和食物不断刷新位置的功能,通过贪吃蛇类实现了贪吃蛇的构造和蛇头切换功能,通过界面类实现了游戏界面的设置,通过框架类实现了窗体的大小和出现消失功能。其次,在这款小游戏中加上了音乐功能,主要是通过设置 music 函数,start 函数,stop 函数来实现音乐这个功能,使玩家在玩游戏的同时可以享受音乐。关键字 游戏 java 贪吃蛇 食物 类Development and design of snake gameAbstract Snake game is a small game that everyone is familiar with. Everyone has played it. The key to realizing the game is to build a frame for snake to move up and down in the game interface, this is relatively easy to develop this small game. In this graduation project, my topic is the greedy snake small game development and the design. In this design, the tool used for eclipse, in the early design of the game through the technical feasibility and economic feasibility analysis, understand the user's basic needs for this small game, i basically created five Java classes to implement some of the functions of greedy snake, and created a food class to build and refresh the food's location, the structure of snake and the function of snake head switch are realized by snake, the game interface is set by interface class, and the form size and vanishing function are realized by frame class. Secondly, in this small game added music function, mainly by setting music function, start function...

1、当您付费下载文档后,您只拥有了使用权限,并不意味着购买了版权,文档只能用于自身使用,不得用于其他商业用途(如 [转卖]进行直接盈利或[编辑后售卖]进行间接盈利)。
2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。
3、如文档内容存在违规,或者侵犯商业秘密、侵犯著作权等,请点击“违规举报”。

碎片内容

信息与计算科学-贪吃蛇小游戏的开发与设计论文

您可能关注的文档

确认删除?
VIP
微信客服
  • 扫码咨询
会员Q群
  • 会员专属群点击这里加入QQ群
客服邮箱
回到顶部