DSP技术与应用课程设计-基于DSP的贪吃蛇游戏程序设计.docVIP

  • 36
  • 0
  • 约1.13万字
  • 约 17页
  • 2017-08-13 发布于安徽
  • 举报

DSP技术与应用课程设计-基于DSP的贪吃蛇游戏程序设计.doc

该设计论文已经通过各大高校老师审核认可并通过答辩,。欢迎大家下载学习交流。如有疑问可随时联系店主,竭诚为您解答!!

JIU JIANG UNIVERSITY DSP技术与应用课程设计 题 目 基于DSP的贪吃蛇游戏程序设计 英文题目 According To The Gluttonous Snake Game Of DSP Programming 院 系 电子工程学院 专 业 通信工程 姓 名 裴 志 强 年 级 A1012 指导教师 江 金 龙 实训地点 电子信息实验楼-203 2011年5月20日—2011年5月27日 摘 要 编写C语言程序实现贪吃蛇游戏。贪吃蛇游戏是一个深受人们喜爱的游戏,一条蛇在密闭的围墙内,在围墙内随机出现一个食物,通过按键盘上的四个数字键控制蛇向上下左右四个方向移动。蛇头撞到食物,则表示食物被蛇吃掉,这时蛇的身体长一节,接着又出现食物,等待被蛇吃掉。如果蛇在移动过程中,撞到墙壁或身体交叉蛇头撞到自己的身体游戏结束。 本文针对用DSP实现贪吃蛇程序进行了研究,通过用C语言编程及DSP硬件仿真来实现游戏。 关键词: 贪吃蛇 流程图 c语言 源程序 Abstract Write C language procedure to carry out a gluttonous snake game. The gluttonous snake game is a game that is deeply liked by people, a snake is in the fence of closeness and random appear a food in the fence and pass four cursor key control snakes of key pan to descend four or so direction movements upward. The snake prinipal hits food and then mean the food is eaten up by the snake, at this time the body of snake lengthways one section, immediately after appear food again, wait for being eaten up by the snake. If the snake is in the process of moving amid, hit walls or the body cross snake prinipal to hit their own body game ends. This text aimed at to carry out gluttonous snake procedure to carry on a search with DSP and passed to weave distance and DSP hardware to imitate with the C language true come to carry out a game. Keyword :Gluttonous Snake Flow Chart C language Sources Program 摘 要 II Abstract III 第一章 设计介绍 5 1.1程序功能 5 1.2设计思想 5 1.3总体流程图 6 第二章 设计的具体实现 7 2.1主要功能设计 7 2.2贪吃蛇程序 7 2.2.1函数定义与声明 7 2.2.2 主函数main( ) 8 2.2.3游戏各关卡的地图库 13 2.2.4 游戏中各个元素的点阵数据库 15 第三章 实验总结 17 参考文献 17 致谢 18 第一章 设计介绍 1.1程序功能 使用的仪器设备: 能正常工作的计算机一台; WindowsXP; DSP教学实验系统; Turbo C程序; 贪吃蛇游戏是一个经典小游戏,一条蛇在封闭围墙里,围墙里随机出现一个食物,通过按键盘四个光标键控制蛇向上下左右四个方向移动,蛇头撞倒食

您可能关注的文档

文档评论(0)

1亿VIP精品文档

相关文档