登录
首页 » 界面开发 » C语言编写的贪吃蛇

C语言编写的贪吃蛇

于 2022-01-26 发布 文件大小:360.78 kB
0 147
下载积分: 2 下载次数: 1

代码说明:

贪吃蛇游戏是一个深受人们喜爱的游戏,一条蛇在密闭的围墙内,在围墙内随机出现一个食物,通过按键盘上的四个光标键控制蛇向上下左右四个方向移动,舌头撞到食物,则表示食物被蛇吃掉,这时蛇的身体长一节,同时计1分,接着又出现食物,等待被蛇吃掉,每吃5个食物,则升一级,蛇移动的速度也会随着加快,如果蛇在移动过程中,撞到墙壁或身体则游戏结束。

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

发表评论

0 个回复

  • 动画窗体特效,包括弹出窗,右下角提示,树控菜单,VS,各种TAB、TREE。 这个对设计有启。...
    动画窗体特效,包括弹出窗,右下角提示,树控菜单,VS界面,各种TAB、TREE。 这个对界面设计有启发。-Animation form effects, including pop-up windows, the bottom right corner tips, tree control menu, VS interface, a variety of TAB, TREE. The inspiration for interface design.
    2022-06-03 03:49:41下载
    积分:1
  • to use VC++ implement: displaying system time on status bar.
    如如何在状态栏上显示系统时间,用VC++可以十分方便地实现。-to use VC++ implement: displaying system time on status bar.
    2022-03-25 08:22:57下载
    积分:1
  • Graphics Gems I 图形图像经典
    Graphics Gems I 图形图像经典-Graphics Gems I
    2022-03-02 14:20:28下载
    积分:1
  • 可以实现 CRectTrack 类功能的拖动类,可以移动拖动直线,可拖动普通 CObject 对象。...
    可以实现 CRectTrack 类功能的拖动类,可以移动拖动直线,可拖动普通 CObject 对象。-Can realize the drag CRectTrack functional category, drag a straight line can be moved to drag the general CObject object.
    2023-04-17 02:25:04下载
    积分:1
  • delphi编写的人事管理软件,学习使用。
    delphi编写的人事管理软件,学习使用。-prepared by the personnel management software, learning to use.
    2022-08-25 13:13:28下载
    积分:1
  • 聊天室系统
    vc-聊天室系统-显示qq表情-文件传送-vc-chat room system- Display qq expression- File Transfer
    2022-11-26 18:25:03下载
    积分:1
  • C++打图片
    该代码使用C++6.0编写,使用MFC,能够打开图片,保存,是图像处理的基础界面,为图像处理程序的编写省时省力,属于基础代码,可供初学者学习模仿,也可以供图像工作者作为基本源码进行高级编程处理
    2022-02-24 14:39:06下载
    积分:1
  • BOOST智能指针的例子,与SmartWin++相结合.
    BOOST智能指针的例子,与SmartWin++相结合.-BOOST smart pointer example, with SmartWin++ Combine.
    2022-01-31 16:48:44下载
    积分:1
  • 超市收银系统 QT语言
    应用背景对于QT的初学者来说是一个不错的选择。超市收银系统涵盖有界面的开发,数据库的开发,QT的各组件之间的应用。更能增加初学者对Qt语言的了解。关键技术数据库的应用,打开,创建,删除,qt的基本组件(按钮,文本框,加载图片,下拉框,布局管理等的应用)
    2022-02-21 09:47:41下载
    积分:1
  • Convert CHtmlView to CHtmlCtrl CHtmlView和我们最终生成的CHtmlCtrl到底有什么区别? 其实,区别仅仅是它们...
    Convert CHtmlView to CHtmlCtrl CHtmlView和我们最终生成的CHtmlCtrl到底有什么区别? 其实,区别仅仅是它们被使用的方法不同.控件通常是对话框里的子窗口---当然你可以把它作为 任何窗口的子窗口.然而View却是专门为了实现MFC 文档视图结构而设计的.一个View有一个指向 Document的指针并且被固定在一个特别的窗口里---人称:框架窗口(CFrameWnd). 对于Document来说,CView是它可以从形态上被表现的场作.但,指向Document的指针 m_pDocument可能是NULL,所以每当我们在View里处理Document的时候,这么做是明智的: -Convert CHtmlView to CHtmlCtrlCHtmlView with us in the end the final generated CHtmlCtrl What is the difference? In fact, the distinction is that they only be used in different ways. Control is usually a sub-dialog window- of course you can put it as a child window of any window. However View it is specialized in order to realize the structure of the document view MFC designed. a View has a point to Document pointer and was fixed in a special window- known as: frame window (CFrameWnd). For Document for, CView is that it can from the morphology was the performance of the market for. However, indicators point to Document the m_pDocument may be NULL, so whenever we d
    2022-05-31 00:40:34下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载