登录
首页 » c » 贪吃蛇

贪吃蛇

于 2022-10-14 发布 文件大小:54.63 kB
0 99
下载积分: 2 下载次数: 1

代码说明:

该游戏用C语言编写,用游戏把子上下左右控制蛇的方向,寻找吃的东西,每吃一口就能得到一定的积分,而且蛇的身子会越吃越长,身子越长玩的难度就越大,不能碰墙,不能咬到自己的身体,更不能咬自己的尾巴,等到了一定的分数,就能过关,然后继续玩下一关。

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

发表评论

0 个回复

  • USBshengka
    在keil中,用程序控制stm32的声卡,程序较为简洁高效!(In keil, the use of the program to control the STM32 sound card, the program is relatively simple and efficient!)
    2020-06-28 14:20:02下载
    积分:1
  • 蜂鸣器发出“世上只有妈妈好”音乐(流水灯)
    蜂鸣器 接线方法:P10接Beep实验现象:蜂鸣器发出“世上只有妈妈好”音乐。
    2020-12-08下载
    积分:1
  • c++,显示图像
    IPicture接口对象的创建          方法1:直接通过文件创建 LPCSTR szFileUrl;  IPicture *pIPicture;  OleLoadPicturePath(CComBSTR(szFileUrl),    (LPUNKNOWN)NULL,    0,    0,    IID_IPicture,    (LPVOID*)&pIPicture))         方法2:通过IStream来创建  // 加载电子地图  LPCSTR szFileUrl;  IStream *pStream = NULL;  IPicture *pIPicture = NULL;;  CFileStatus fstatus;  CFile file;  LONG lFileSize;  HGLOBAL hGlobal;  if(file.Open(szFileUrl, CFile::modeRead) && file.GetStatus(szFileUrl, fstatus)   && ((lFileSize = fstatus.m_size) != -1))  {   hGlobal = GlobalAlloc(GMEM_MOVEABLE, lFileSize);// 开辟大内存   if(hGlobal != NULL)   {    LPVOID pvData = NULL; &nb
    2022-01-26 14:55:37下载
    积分:1
  • lwip RAW_TCP客户端源码
    说明:  lwip移植加tcpip客户端功能代码,在ucos系统基础上移植lwip,并使用raw接口进行客户端服务编写(Lwip transplantation plus tcpip client function code)
    2020-07-20 13:49:13下载
    积分:1
  • app
    说明:  图论相关知识,the basic knowledge(Knowledge of graph theory, the basic knowledge)
    2011-03-08 08:57:12下载
    积分:1
  • 分析计算电网谐波,得出基波和高次谐波的值
    单相半波整流电路谐波分析,可以计算谐波的幅值,谐波含量并画图(Single-phase half-wave rectifier circuit harmonic analysis, harmonic amplitude can be calculated, harmonic content and drawing)
    2017-09-04 16:12:01下载
    积分:1
  • Wireshark
    Ethereal 可以用来从网络上抓包,并能对包进行分析。下面介绍windows 下Ethereal 的使用方法:   安装   1)安装winpcap   2)安装Ethereal   使用   windows 程序,使用很简单。   启动ethereal 以后,选择菜单Capature->Start ,就OK 了。当你不想抓的时候,按一下stop, 抓的包就会显示在面板中,并且已经分析好了。(Ethereal can be used to capture from the network, and is able to package for analysis. Here are the windows to use Ethereal: Installation 1) Install winpcap 2) install Ethereal using the windows program, easy to use. Start ethereal after select menu Capature-> Start, OK. When you do not want to catch the time, click the stop, caught the package will be displayed in the panel, and has a good analysis. )
    2012-01-12 15:45:25下载
    积分:1
  • ADC0832
    ADC0832模数转换与LCD-LED显示,带Protues仿真,keil工程(ADC0832 analog to digital converter and the LCD-LED display, the band Protues simulation, c51 engineering)
    2012-06-08 07:04:41下载
    积分:1
  • 我这里有一个基于C/C++环境下的模糊神经网络源程序,用于训练神经网络并可更改样本实现你所需的功能,希望和大家一起分享...
    我这里有一个基于C/C++环境下的模糊神经网络源程序,用于训练神经网络并可更改样本实现你所需的功能,希望和大家一起分享-I have here on a C/C under the FNN source, used to train the neural network may vary sample implementation of the function you need, and hope to share with everyone
    2022-01-23 10:09:20下载
    积分:1
  • Test4-13-17-47
    用于文件的传输和接收的测试程序,可以实现多个文件和文件夹的传输(For file transmission and reception of the test procedure can be achieved a number of files and folders transmission)
    2009-06-05 17:46:50下载
    积分:1
  • 696516资源总数
  • 106442会员总数
  • 11今日下载