文件名称:snake3
下载
别用迅雷、360浏览器下载。
如迅雷强制弹出,可右键点击选“另存为”。
失败请重下,重下不扣分。
如迅雷强制弹出,可右键点击选“另存为”。
失败请重下,重下不扣分。
介绍说明--下载内容均来自于网络,请自行研究使用
该代码是实现聪明的贪食蛇的功能,规则如下,贪食蛇第一次碰墙后会自动向右转,第二次碰墙后会自动向左转,第三次碰墙后会反方向而行等。-The code is to achieve smart Snake features, the following rules, Snake will automatically turn to the right for the first time after touching the wall, it will automatically turn to the left after the second hit the wall, it will hit the wall after the third anti-the direction of the line and so on.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
snake3.c