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

C语言编写的贪吃蛇

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

代码说明:

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

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

发表评论

0 个回复

  • c++ builder6 dialog组件应用例程
    一个简单的c++ builder6文件对话操作界面处理例程,用到了dialog的全部组件,对入门及提高有很好的帮助。
    2022-12-04 04:05:03下载
    积分:1
  • bmycrust作为输入的三维散乱点云并返回一个紧流形,T
    BMyCrust take as input a 3D scatter points cloud and return a tight, manifold, triangulation. Remember that crust algorithm needs a cloud representing a volume, so open surface may give inaccurate results. For example : a plane can not be triangulated, half-sphere is in doubt, a sphere with a small hole shoud be good. The more points are given the best the surface will be fitted, of course in this case you would have to wait more and in the worst case a memory help error may occurs. The best results are obtained with more points in high curvature feature. The old version did not ensure the output surface to be a manifold so it could be used only for graphical purpose. In the new one a tight, regular manifold is returned. It as outward normals orientation, after using this algorithm is very easy to get an STL file from a point cloud. I added a manifold extraction tool that also correct the errors (slivers) generated by delaunayn during the initial tessellation.-BMyCr
    2022-03-12 15:17:47下载
    积分:1
  • Create Maze Game
    大家好,我和大家分享如何制作迷宫游戏。这是使用Visual Studio 2012的GUI和C语言。
    2022-07-03 08:07:36下载
    积分:1
  • LC记事本1.00源程序,实现基本的记事本的功能,环境bcb
    LC记事本1.00源程序,实现基本的记事本的功能,环境bcb-LC Notepad 1.00 source code to achieve the basic functions of Notepad, environmental BCB
    2023-05-13 23:55:02下载
    积分:1
  • 可以在中分隔任何控件的分隔条
    可以在界面中分隔任何控件的分隔条-interface can be separated in any segregation of control
    2023-07-21 09:35:03下载
    积分:1
  • giveio giveio giveio
    giveio giveio-giveio giveio giveio
    2022-06-13 10:51:00下载
    积分:1
  • 对于视觉工具栏推出1.5版的一个类似的工具,加入ICO和JPG…
    一个类似的可视化工具栏工具引入了1.5版本,JPG加入了ICO和支持文档
    2023-02-23 00:45:03下载
    积分:1
  • 控制旋钮
    在 c# 中制定音量控制或旋钮控件作为用户控件 DotNetBar 旋钮/拨号控制是仪器仪表控制集使您可以创建控制实时工具的用户界面的一部分仪表板控制板等。 控制包括可配置的颜色,形状和整体的用户交互的视觉样式的数量。此外分别可以呈现的主要控制元件,每个给你最大的灵活性,在控件的外观和行为。
    2022-01-25 18:26:50下载
    积分:1
  • winamp 插件程序,大家有兴趣研究
    winamp 插件程序,大家有兴趣研究 -Winamp plug-in procedures, we are interested in studies
    2022-03-25 11:36:33下载
    积分:1
  • 调用Function过程
    资源描述 Function过程是Visual Basic 6.0中用户自定义的函数。与Sub过程不同的是,Function过程是一个具有数据类型和返回值的过程。 创建Function过程 调用Function过程  
    2022-07-17 23:44:04下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载