文件名称: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
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.