菜单
  
    摘要:    贪吃蛇游戏作为最被人熟知的一款益智游戏。本文在My Eclipse 2014的开发环境下,使用java语言设计了一款贪吃蛇游戏。主要完成了以下几个功能:游戏界面初始化功能、玩家操作功能,更改游戏界面功能、记录最高分功能、玩家选关功能。游戏设计的主要思想是玩家操作小蛇不停的朝食物的方向前进,直到吃掉了食物。每吃一个食物,小蛇都会长长一节,小蛇的移动的速度也会随之增快。随之而来的难度加大。重点阐释了三个算法:1.如何判断蛇是否吃到了食物:蛇身经过的坐标先由蛇头经过,判断蛇头的坐标与食物的坐标重合,若重合,则蛇身伸长一节并且速度加快。2.判断蛇在吃食物的过程中是否碰到了自身:若蛇头的坐标与某个蛇身的坐标重合,则游戏结束。3.判断随机出现的食物是否会出现在蛇身上:随机丢食物的时候,判断是否是蛇的一部分坐标,若是,则重新丢食物。本款游戏设计了更改游戏界面功能,帮助玩家自由调整游戏界面视觉效果;并且更改了每次蛇吃到食物后的速度以及刷新最高分记录,从而增加了游戏的趣性和竞技性。32847
    关键词:    贪吃蛇;小游戏;java开发语言;My Eclipse;
    The Design of Game Cast Snake
    Abstract:     Cast Snake, which was developed by Nokia mobile phone manufacturers, is well known as a puzzle game. Under My Eclipse 2014 development environment, a kind of Cast Snake is designed by using java language in this paper. The main functions are available to initialize interface, players operating function, change the game interface, record the highest score and select starting mission. The main idea of game design is that players operate the snake toward food direction until it has eaten the food. Every time it eats the food, its body will be extend longer and followed by a faster speed of movement. Meanwhile, the difficulty will be increased. Interpretation is mainly focused on three algorithms: 1, how to judge whether the snake has eaten the food. The coordinate that the snake goes through will be firstly contacted by its head, in this process, if the coordinate of its head overlap that of food, then its body will be extended and the speed will be increased. 2, judging whether the snake in the process meets its body, it means that the game will be over. 3, estimating whether the food will be appeared in the snake. Randomly throwing food, players should judge if it a part of the coordinate that belongs to the snake, if it is, then food should be threw once again. The game is access to change its interface, help players to adjust the visual effect of game interface, change the speed of movement after the food was eaten and refresh the highest record, thus increasing its enjoyment and competitiveness.
    Keywords:    Keyword1;  CastSnake;mini-games;java development language;
    目录
    摘要    i
    Abstract    i
    目录    iii
    1 绪论    1
    1.1 课题背景及意义    1
    1.2 国内外研究现状与水平    2
    1.3 发展趋势和未来的市场占有    3
    1.4 论文组织结构    4
    2 系统开发环境的介绍与选择    5
    2.1 开发工具MY ECLIPSE 介绍    5
    2.2 MY SQL 数据库    5
    2.3 开发工具JDK介绍    5
    3 分析    6
    3.1 玩家需求分析    6
    3.2 所需技术分析    6
    3.3 游戏各板块概要分析    7
    3.3.1 游戏模块菜单    7
    4 游戏详细设计    8
    4.1 环境配置    8
    4.2 数据库表结构设计    8
  1. 上一篇:ASP+access养生健康网站建设
  2. 下一篇:基于Flash的五子棋游戏设计+文献综述
  1. java+mysql设备监控记录的大...

  2. java+mysql酒店管理系统设计与实现

  3. java+mysql二手房网站的设计与实现

  4. java+mysql家居团购网站的设计与实现

  5. JAVA+MYSQL《算法与数据结构...

  6. java+mysql班级评优系统的设计与实现

  7. java+mysql大数据的疾病种类...

  8. 乳业同业并购式全产业链...

  9. 河岸冲刷和泥沙淤积的监测国内外研究现状

  10. 当代大学生慈善意识研究+文献综述

  11. 杂拟谷盗体内共生菌沃尔...

  12. java+mysql车辆管理系统的设计+源代码

  13. 酸性水汽提装置总汽提塔设计+CAD图纸

  14. 中考体育项目与体育教学合理结合的研究

  15. 大众媒体对公共政策制定的影响

  16. 电站锅炉暖风器设计任务书

  17. 十二层带中心支撑钢结构...

  

About

751论文网手机版...

主页:http://www.751com.cn

关闭返回