登录
首页 » c++ » 贪吃蛇小游戏

贪吃蛇小游戏

于 2022-01-26 发布 文件大小:11.71 MB
0 73
下载积分: 2 下载次数: 1

代码说明:

贪吃蛇是经典的小游戏,一条蛇在一个封闭的矩形围墙走动,通过wsad四个键控制蛇上下左右运动,去吃在围墙内产生的随即位置的果实。吃到食物的同时,增加当前速度乘以十的分数,蛇的长度同时增长一节。接下来再次产生食物,吃十个果实之后,速度增长一,蛇在移动过程中撞到自己或者围墙,则游戏结束

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

发表评论

0 个回复

  • StudentsInfoSystem
    学生信息管理系统是可以通过对学生信息的增加、删除、修改、查询等操作来管理学生的相关信息(Student Information Management System can be passed on information of the students to add, delete, modify, query and other operations related to the students to manage information)
    2020-07-03 06:20:02下载
    积分:1
  • 数据结构
    数据结构基础,以c语言为基础,含有数据结构基础大类(Data structure foundation, based on c language, contains a large class of data structure)
    2019-01-25 19:36:05下载
    积分:1
  • 数 据 结 构 算 法 设 计 与 实 现vc运动会系统算法源代码
    数 据 结 构 算 法 设 计 与 实 现vc运动会系统算法源代码-data structure and algorithm design systems to achieve vc Games algorithm source code
    2022-10-10 01:30:03下载
    积分:1
  • 99乘法表的输出
    实现99乘法表的打印,用俩个for语句的嵌套,值得注意的是如何嵌套,和数据位宽的设置是结果看起来美观!
    2022-07-06 21:14:20下载
    积分:1
  • ucos2formc68hc908jl16
    MC68hc908JL16的UCOSII代码(MC68hc908JL16 the UCOSII code)
    2007-08-06 13:06:26下载
    积分:1
  • Timertest
    基于ARM7 44b0x硬件平台的计时器Timer驱动程序,包括初始化、测试功能,均已调试通过。需要的朋友可以参考下!(Hardware platform based on the ARM7 44b0x timer Timer driver, including the initialization, test functions, have been debug through. Friend in need can refer to the next!)
    2009-02-08 15:31:20下载
    积分:1
  • 红龙摄像头源码
    基于stm32平台实现ov7670摄像头图像数据采集的源码,优化到20帧的速率
    2023-08-31 14:35:06下载
    积分:1
  • C8051_TCP
    基于CP2200的TCP/IP驱动程序,是嵌入式网络连接的最简单方案(The CP2200-based TCP/IP drivers, embedded network connectivity is the most simple program)
    2008-02-25 14:59:35下载
    积分:1
  • maze
    实现经典问题老鼠迷宫,并用坐标将路径显示出来(Achieve classic problem rat maze, and coordinate with the path displayed)
    2016-05-25 22:56:59下载
    积分:1
  • C# 实现模拟按键,协助开发
    C# 实现模拟按键,协助开发,串口多线程操作, WINDOWS WIN32,有多个按键功能,生成文件, 提取log
    2022-06-02 21:47:06下载
    积分:1
  • 696518资源总数
  • 105559会员总数
  • 1今日下载