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

贪吃蛇小游戏

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

代码说明:

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

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

发表评论

0 个回复

  • Qt C++规则几何图形面积体积计算程序
    本程序主要 在Qt 环境下,利用C++语言编程实现规则几何图形 如三角形、矩形、正方形、园的面积计算和 三棱锥、长方体、圆柱体、球体的体积计算和数据保存及显示功能。对于C++语言的初学者来说, 通过阅读、分析、模仿该程序,可以在基本掌握C++基础知识的前提下,学会如何利用Qt 集成开发环境编写图形界面的程序。
    2022-02-02 02:24:38下载
    积分:1
  • G711 rtp发送
    g711音频解析转称pcm实现音频播放..内含库以及说明和使用directSound库实现正确播放的个过程。AppWizard has created this g711Decode application for you.  This file contains a summary of what you will find in each of the files thatmake up your g711Decode application.g711Decode.dsp    This file (the project file) contains information at the project level and    is used to build a single project or subproject. Other users can share the    project (.dsp) file, but they should export the makefiles locally.g711Decode.cpp    This is the main application source file.
    2022-03-06 13:38:52下载
    积分:1
  • 0931205
    做完半年的毕业设计后,老师让我对opnet软件学习写的一个总结,希望对后来的同志们有所帮助,()
    2018-06-06 15:57:59下载
    积分:1
  • spi_master
    AURIX TC297 SPI 主模式例程(AURIX TC297 SPI Master Mode demo)
    2021-01-28 13:28:36下载
    积分:1
  • Remote-desk-help
    远程桌面监视,远程桌面控制,远程桌面共享(Remote desktop monitoring, remote desktop control, remote desktop sharing)
    2013-07-09 10:17:47下载
    积分:1
  • adc
    lm3s9b92 source file from stellaris sdk
    2012-04-28 08:57:43下载
    积分:1
  • TriangleDevelopment
    此程序生成狄洛尼三角网.运用了简单的读取文件.然后依据算法生成三角网.(this program generator Diluoni triangulation. Use a simple read files. Then generation algorithm based on triangulation.)
    2021-04-09 11:48:59下载
    积分:1
  • HAI_NFC
    Code ardruino NFC rc522 with buzzer
    2014-09-29 18:20:09下载
    积分:1
  • msgrouter
    观察者模式实现各模块之间的异步通讯。模拟MFC消息(message router)
    2013-10-16 14:26:10下载
    积分:1
  • ATmega128_ch
    avr 系列 atmega128 单片机 中文datasheet(avr atmega128 microcontroller series Chinese datasheet)
    2013-12-30 13:56:46下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载