文件名称:snake
- 所属分类:
- 其他嵌入式/单片机内容
- 资源属性:
- [C/C++] [源码]
- 上传时间:
- 2013-09-12
- 文件大小:
- 3kb
- 下载次数:
- 0次
- 提 供 者:
- 张**
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
贪吃蛇游戏是一个经典小游戏,一条蛇在封闭围墙里,围墙里随机出现一个食物,通过按键盘四个光标键控制蛇向上下左右四个方向移动,蛇头撞倒食物,则食物被吃掉,蛇身体长一节,同时记10分,接着又出现食物,等待蛇来吃,如果蛇在移动中撞到墙或身体交叉蛇头撞倒自己身体游戏结束。-Snake game is a classic game, a snake in a closed walls, the walls of a random food, four cursor by pressing the keyboard keys to control the snake to move up and down about four, snakeheads knocked down food, then the food is eaten away, a snake body length, while 10 points, followed by a food, wait for the snake to eat, if the snake hit the wall on the move or physical cross snakeheads hit game over his body.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
贪吃蛇\snake.c
......\snake.h
贪吃蛇