登录
首页 » c++ » 贪吃蛇源代码分享

贪吃蛇源代码分享

于 2022-09-27 发布 文件大小:2.49 kB
0 119
下载积分: 2 下载次数: 1

代码说明:

一个利用c++开发的贪吃蛇游戏源代码,供学习参考用,初始化的#代表蛇嘴吃食,*代表吃进的食物,通过上下左右键异动实现吃进食物,方向不能朝蛇尾方向移动(设置自动退出程序),吃进一个*蛇身变长,循环操作,且提供等级提高难度,简单实用的程序转载,值得学习。

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • rgb2hsv2010
    rgb颜色空间-hsv颜色空间 (RGB to HSV)
    2010-05-17 13:50:02下载
    积分:1
  • basic
    matlab中许许多多的基础图像处理方法,最适合初学者使用,希望采纳哦(matlab image processing method in the base of many of the most suitable for beginners to use, hope to adopt oh)
    2015-03-18 14:51:43下载
    积分:1
  • LAN8720
    说明:  本次上传内容是stm32f767对驱动lan8720的相关程序。(The content of this upload is the related program of stm32f767 driving lan8720.)
    2020-04-11 15:26:04下载
    积分:1
  • 建立一个链表表示一个集合,实现集合元素的添加。可以通过文件输入输出...
    建立一个链表表示一个集合,实现集合元素的添加。可以通过文件输入输出-The establishment of a linked list to represent a collection of elements added to achieve a collection. Input and output documents can be
    2022-02-26 16:15:07下载
    积分:1
  • prjIO150718
    EM78P153 程序可以调速调档智能风扇(EM78P153 smart fan ctrl)
    2017-11-30 09:16:33下载
    积分:1
  • 背包问题:一. 需求分析1.本程序中,表示背包和物品的元素限定为实型,物品的多少不限(可通过改变宏选择适当的数组长度).2.程序由用户和计算机的对话方式执行,在...
    背包问题:一. 需求分析1.本程序中,表示背包和物品的元素限定为实型,物品的多少不限(可通过改变宏选择适当的数组长度).2.程序由用户和计算机的对话方式执行,在计算机的提示信息下由用户在键盘上输入规定的运算命令,相应的输入数据和运算结果显示在其后。3.程序执行的命令包括:1) 构造物品数组及相应的标识数组2) 对数组的当前状态求和3) 打印出所有符合要求的结果4.测试数据实型的任意数据均可,不能输入字符型数据-knapsack problem : 1. A needs analysis. This procedure, said the backpack and items elements is limited to type, the number of open-items (available through Acer change the selection of appropriate length of the array). 2. Procedures by the user and computer dialogue approach to the implementation of the computer under the message by the user at the keyboard input on the operation order, the corresponding input data and computing results in the following. 3. Procedures for the implementation of the order include : 1) Construction items array and the corresponding array logo 2) to the current status of the array summation 3) Print out to meet the requirements of all four results. Test data is the type of data can be arbitrary, can not be imported for character data
    2022-07-14 00:37:18下载
    积分:1
  • VegaPrime
    一篇绝好的论文,主要参数VP中多坐标系的关系,包括地心坐标系,地面坐标系,投影坐标系之间的关系(An excellent paper, the main parameters of VP in the relationship between multi-coordinate system, including the geocentric coordinate system, the ground coordinate system, projection coordinates the relationship between)
    2009-06-06 09:09:35下载
    积分:1
  • stm32
    用于电压小信号的采集数据,嵌入式开发平台(data send or receive voltage)
    2020-06-18 02:00:02下载
    积分:1
  • c#调用天使插件简单例子
    天使插件是一个游戏辅助插件,是标准com组件1. 文字识别,  高效,速度快 2. 后台键鼠,强悍的后台键鼠 3. 图色方面,高速找图找色,取色4. 绑定模式多,兼容性强  天使插件包含了市面上同类型插件的功能,天使基本免费开放,所有的后台功能和绑定功能都免费使用.并开发自己的特色功能c#语言简单,功能强大,基于.net框架。网上的调用天使插件的例子多是按键精灵和e语言的,我用c#实现天使插件的调用
    2015-06-11下载
    积分:1
  • caisetuxiangzhifangtujunhenghua
    彩色图像的直方图均衡化。vc++2005+opencv实现,对三个通道进行均衡化。(Color image histogram equalization. vc++2005+ opencv implementation of the three channel equalization.)
    2010-07-09 20:31:16下载
    积分:1
  • 696516资源总数
  • 106442会员总数
  • 11今日下载