文件名称:tanchishe
介绍说明--下载内容来自于网络,使用问题请自行百度
单片机游戏设计及贪吃蛇程序
1、定义四个按键改变蛇行的方向。
2、随机出现食物(用一个LED亮点表示),吃进食物后蛇增长一个点。
3、当蛇头与蛇身接触时程序结束。
4、程序结束后显示蛇身的长度(共有几个点),用以决定游戏的分值。
-SCM game design and Snake procedure 1, define the direction of the four buttons to change the hunting. 2, random food (said with a bright LED), after the snake eating food growth in a point. 3, when the snake head contact with the snake end of the process. 4, the program is displayed after the end of snake' s length (total number of points) to decide the game scores.
1、定义四个按键改变蛇行的方向。
2、随机出现食物(用一个LED亮点表示),吃进食物后蛇增长一个点。
3、当蛇头与蛇身接触时程序结束。
4、程序结束后显示蛇身的长度(共有几个点),用以决定游戏的分值。
-SCM game design and Snake procedure 1, define the direction of the four buttons to change the hunting. 2, random food (said with a bright LED), after the snake eating food growth in a point. 3, when the snake head contact with the snake end of the process. 4, the program is displayed after the end of snake' s length (total number of points) to decide the game scores.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
tanchishe.doc
1999-2046 搜珍网 All Rights Reserved.
本站作为网络服务提供者,仅为网络服务对象提供信息存储空间,仅对用户上载内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。
