首页 开发技术 C     /    C语言控制台版贪吃蛇游戏.rar

C语言控制台版贪吃蛇游戏.rar

上传者: weixin_40642404 | 上传时间:2025/12/21 7:28:02 | 文件大小:22.31MB | 文件类型:rar
C语言控制台版贪吃蛇游戏.rar
用C和C++并用写的贪吃蛇游戏,写的比较仓促,没有把各个功能区分开,游戏有闯关模式,有经典的诺基亚那种没有墙壁的模式,有随机地图模式,也支持自己创建地图。
地图中有五种地形空地草地墙壁酒瓶和传送门其中酒瓶会使你方向颠倒十秒,传送门两两对应。
(这个传送门耗费了我很长时间,因为在创建地图时你要保障两两对应,其中一个被销毁还要提醒玩家再建立一个,还要检测是否所有传送门都有了与之相对应的。
而且总要紧的是游戏支持随时保存功能,在被保存后再读取时还要知道哪两个传送门是一对。
)游戏支持随时保存,可以自建地图。
可以保存地图。
挑战模式及自建地图时会有随机奖励物产生,包括减速,加速,十秒无敌等[图片][图片][图片][图片] 本软件ID:11504055

文件下载

资源详情

[{"title":"(58个子文件22.31MB)C语言控制台版贪吃蛇游戏.rar","children":[{"title":"Debug","children":[{"title":"贪吃蛇项目.ilk <span style='color:#111;'>5.47MB</span>","children":null,"spread":false},{"title":"贪吃蛇项目.pdb <span style='color:#111;'>9.56MB</span>","children":null,"spread":false},{"title":"贪吃蛇项目.exe <span style='color:#111;'>1.09MB</span>","children":null,"spread":false}],"spread":true},{"title":".vs","children":[{"title":"贪吃蛇项目","children":[{"title":"v15","children":[{"title":"ipch","children":[{"title":"AutoPCH","children":[{"title":"e5e2c20bb53130e","children":[{"title":"贪吃蛇项目.ipch <span style='color:#111;'>29.75MB</span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"a84acfa57104406b.ipch <span style='color:#111;'>320.00KB</span>","children":null,"spread":false}],"spread":true},{"title":".suo <span style='color:#111;'>103.00KB</span>","children":null,"spread":false},{"title":"Browse.VC.db <span style='color:#111;'>37.79MB</span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"贪吃蛇项目.sln <span style='color:#111;'>1.42KB</span>","children":null,"spread":false},{"title":"贪吃蛇项目","children":[{"title":"Food.cpp <span style='color:#111;'>1.31KB</span>","children":null,"spread":false},{"title":"贪吃蛇项目.vcxproj <span style='color:#111;'>9.10KB</span>","children":null,"spread":false},{"title":"gif.cpp <span style='color:#111;'>2.33KB</span>","children":null,"spread":false},{"title":"Snake.h <span style='color:#111;'>1.12KB</span>","children":null,"spread":false},{"title":"Debug","children":[{"title":"vc141.pdb <span style='color:#111;'>364.00KB</span>","children":null,"spread":false},{"title":"gift.obj <span style='color:#111;'>62.42KB</span>","children":null,"spread":false},{"title":"贪吃蛇项目.pch <span style='color:#111;'>1.94MB</span>","children":null,"spread":false},{"title":"pch.obj <span style='color:#111;'>3.50KB</span>","children":null,"spread":false},{"title":"map.obj <span style='color:#111;'>43.74KB</span>","children":null,"spread":false},{"title":"gif.obj <span style='color:#111;'>94.33KB</span>","children":null,"spread":false},{"title":"vc141.idb <span style='color:#111;'>595.00KB</span>","children":null,"spread":false},{"title":"贪吃蛇项目.obj.enc <span style='color:#111;'>356.70KB</span>","children":null,"spread":false},{"title":"Food.obj <span style='color:#111;'>61.54KB</span>","children":null,"spread":false},{"title":"贪吃蛇项目.tlog","children":[{"title":"unsuccessfulbuild <span style='color:#111;'>0B</span>","children":null,"spread":false},{"title":"CL.read.1.tlog <span style='color:#111;'>158.62KB</span>","children":null,"spread":false},{"title":"link.read.1.tlog <span style='color:#111;'>3.75KB</span>","children":null,"spread":false},{"title":"link.write.1.tlog <span style='color:#111;'>648B</span>","children":null,"spread":false},{"title":"CL.write.1.tlog <span style='color:#111;'>3.53KB</span>","children":null,"spread":false},{"title":"link.command.1.tlog <span style='color:#111;'>1.61KB</span>","children":null,"spread":false},{"title":"贪吃蛇项目.lastbuildstate <span style='color:#111;'>194B</span>","children":null,"spread":false},{"title":"CL.command.1.tlog <span style='color:#111;'>4.71KB</span>","children":null,"spread":false}],"spread":false},{"title":"Snake.obj <span style='color:#111;'>172.46KB</span>","children":null,"spread":false},{"title":"贪吃蛇项目.log <span style='color:#111;'>1.21KB</span>","children":null,"spread":false},{"title":"transmit.obj <span style='color:#111;'>22.87KB</span>","children":null,"spread":false}],"spread":false},{"title":"贪吃蛇项目.vcxproj.filters <span style='color:#111;'>2.52KB</span>","children":null,"spread":false},{"title":"贪吃蛇项目.h <span style='color:#111;'>36B</span>","children":null,"spread":false},{"title":"pch.h <span style='color:#111;'>639B</span>","children":null,"spread":false},{"title":"keyCtrl.h <span style='color:#111;'>14B</span>","children":null,"spread":false},{"title":"Transmit.h <span style='color:#111;'>234B</span>","children":null,"spread":false},{"title":"gif.h <span style='color:#111;'>198B</span>","children":null,"spread":false},{"title":"Snake.cpp <span style='color:#111;'>3.49KB</span>","children":null,"spread":false},{"title":"Gift.h <span style='color:#111;'>296B</span>","children":null,"spread":false},{"title":"pch.cpp <span style='color:#111;'>200B</span>","children":null,"spread":false},{"title":"贪吃蛇项目.cpp <span style='color:#111;'>26.83KB</span>","children":null,"spread":false},{"title":"sound","children":[{"title":"fire.wav <span style='color:#111;'>52.88KB</span>","children":null,"spread":false},{"title":"eatgift.wav <span style='color:#111;'>127.59KB</span>","children":null,"spread":false},{"title":"choose.wav <span style='color:#111;'>22.59KB</span>","children":null,"spread":false},{"title":"7895.mp3 <span style='color:#111;'>776.92KB</span>","children":null,"spread":false},{"title":"happy.wav <span style='color:#111;'>9.06MB</span>","children":null,"spread":false},{"title":"wudi.wav <span style='color:#111;'>414.97KB</span>","children":null,"spread":false},{"title":"over.wav <span style='color:#111;'>146.53KB</span>","children":null,"spread":false}],"spread":false},{"title":"map.cpp <span style='color:#111;'>1.55KB</span>","children":null,"spread":false},{"title":"transmit.cpp <span style='color:#111;'>369B</span>","children":null,"spread":false},{"title":"ctrl.cpp <span style='color:#111;'>23B</span>","children":null,"spread":false},{"title":"贪吃蛇项目.vcxproj.user <span style='color:#111;'>165B</span>","children":null,"spread":false},{"title":"gift.cpp <span style='color:#111;'>1.59KB</span>","children":null,"spread":false},{"title":"mainCtrl.h <span style='color:#111;'>2.10KB</span>","children":null,"spread":false},{"title":"gamemain.h <span style='color:#111;'>508B</span>","children":null,"spread":false},{"title":"food.h <span style='color:#111;'>256B</span>","children":null,"spread":false},{"title":"map.h <span style='color:#111;'>527B</span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

免责申明

【好快吧下载】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【好快吧下载】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【好快吧下载】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,8686821#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明