文件名称:tanchishe
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:2.2kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
功能: 实现简易贪吃蛇游戏软件
基本要求:在封闭的围墙内有一条蛇,通过键盘控制蛇的运动方向,若无按键时,按蛇头方向自行移动。围墙内随机出现食物,吃掉食物,蛇的身体长1节,得10分。若蛇在移动过程中,撞到墙壁或身体交叉蛇头撞到自己的身体游戏结束。注意蛇只能以蛇头移动,不能相反,也就是说,若蛇原先向上移动,按向下键无效。-Features: Simple Snake game software to achieve the basic requirements: in a closed within the walls of a snake, a snake through the keyboard to control the direction of movement, without keys, press the smugglers moving their own direction. The walls were a food, eat food, the snake' s body length of 1, 10 points. If the snake on the move, hit the wall or physical cross-smugglers hit game over his body. Note that the snake can only smugglers moving, not the opposite, that is, if the original snake moving up, press the down key is invalid.
基本要求:在封闭的围墙内有一条蛇,通过键盘控制蛇的运动方向,若无按键时,按蛇头方向自行移动。围墙内随机出现食物,吃掉食物,蛇的身体长1节,得10分。若蛇在移动过程中,撞到墙壁或身体交叉蛇头撞到自己的身体游戏结束。注意蛇只能以蛇头移动,不能相反,也就是说,若蛇原先向上移动,按向下键无效。-Features: Simple Snake game software to achieve the basic requirements: in a closed within the walls of a snake, a snake through the keyboard to control the direction of movement, without keys, press the smugglers moving their own direction. The walls were a food, eat food, the snake' s body length of 1, 10 points. If the snake on the move, hit the wall or physical cross-smugglers hit game over his body. Note that the snake can only smugglers moving, not the opposite, that is, if the original snake moving up, press the down key is invalid.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
新建 文本文档.txt
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.