登录
首页 » 其他项目 » c++实现贪吃蛇游戏

c++实现贪吃蛇游戏

于 2022-03-10 发布 文件大小:4.77 kB
0 320
下载积分: 2 下载次数: 1

代码说明:

利用C++编写贪吃蛇游戏,通过操作键盘方向键可以控制贪吃蛇的移动,每吃掉一个刷新的食物之后会加长一个单位。每个食物的刷新都优先设定好了一个可以行进的路线,当贪吃蛇的头碰到身体或者刷新食物时没有任何一个可以行进的路线则算游戏失败,完成贪吃蛇吃满全屏幕则算游戏成功。

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

发表评论

0 个回复

  • Database Systems Introduction to lesson plans. ppt format. The main contents of...
    数据库系统概论教案。ppt格式。电子教案主要内容包括绪论,关系数据库,数据库设计,数据库保护,数据库技术新进展等八章,课件内容丰富有条理,欢迎师生参考使用。-Database Systems Introduction to lesson plans. ppt format. The main contents of electronic lesson plans, including introduction, relational databases, database design, database protection, database technology, such as new progress in eight chapters, courseware content-rich structured, welcomed the teachers and students use and reference.
    2022-08-13 09:34:53下载
    积分:1
  • 刻蚀草图的游戏 Exactly like the classic etch
    刻蚀草图的游戏 Exactly like the classic etch-a-sketch game you played as a kid! -draft etching of the game Exactly like the classic etch-a-sketch game you played as a kid!
    2022-04-08 18:41:44下载
    积分:1
  • s32410 Nor boot bootcode
    s32410 Nor boot 启动代码-s32410 Nor boot bootcode
    2022-02-02 14:20:18下载
    积分:1
  • Extraction IE temporary files folder in the DOS command for U.S. Study
    提取IE临时文件夹里的文件 DOS命令 供大家学习-Extraction IE temporary files folder in the DOS command for U.S. Study
    2023-01-30 09:40:03下载
    积分:1
  • 利用msp430单片机的一般I/O管脚实现键盘输入。
    利用msp430单片机的一般I/O管脚实现键盘输入。-The use of MSP430 MCU general I/O pin realize keyboard input.
    2023-03-24 05:15:03下载
    积分:1
  • kaba key 2009 kaba key 2009
    kaba key 2009 kaba key 2009
    2022-07-23 11:13:29下载
    积分:1
  • 这是我收集基于tinyos实现的IEEE.802.15.4协议,希望能帮助大家
    这是我收集基于tinyos实现的IEEE.802.15.4协议,希望能帮助大家-This is my collection of tinyos based implementation IEEE.802.15.4, we hope that can help you
    2022-03-17 23:10:45下载
    积分:1
  • 电子课程设计 电子时钟电路设计,功能齐全,解压密码是西南科技大学...
    电子课程设计 电子时钟电路设计,功能齐全,解压密码是西南科技大学-E-curriculum design electronic clock circuit design, a full-featured, unzip password is the Southwest University of Science and Technology
    2022-03-22 01:30:25下载
    积分:1
  • C in the state fast graphics display Chinese characters of color
    C状态下快速图形显示汉字的颜色
    2022-07-11 04:39:13下载
    积分:1
  • An improved tabu search algorithm to solve knapsack problem. The algorithm is ba...
     提出一种改进的禁忌搜索算法来求解背包问题。该算法基于禁忌搜索技术,并采用I&D策略,同时设计了两种针对局 部最优解的变异算子。改进后的算法能有效地弥补标准禁忌算法对初始解依赖的缺陷,同时也避免了搜索停滞的现象。通过对具 体实例和随机问题的测试,表明改进后的禁忌搜索算法有更好的性能。 关-An improved tabu search algorithm to solve knapsack problem. The algorithm is based on tabu search techniques, using I & D strategies, while designed for the local optimal solution of the two kinds of mutation operator. The improved algorithm can effectively compensate for the standard tabu search algorithm depends on the initial solution defect, but also to avoid the phenomenon of search stagnation. Through specific examples and random-question test, indicating that the improved tabu search algorithm has better performance. Guan
    2022-01-21 20:56:01下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载