游戏!!(代码+文件)

​​​​​​二

记录详情 - 洛谷 | 计算机科学教育新生态

记录详情 - 洛谷 | 计算机科学教育新生态

记录详情 - 洛谷 | 计算机科学教育新生态

做了怎么多题该摸摸鱼了  

void need(int a)
{
			if(a==1) system("start %cd%/runtime/game/2048.exe");
			if(a==2) system("start %cd%/runtime/game/超级迷宫.exe");
			if(a==3) system("start %cd%/runtime/game/俄罗斯方块.exe");
			if(a==4) system("start %cd%/runtime/game/恶魔轮盘赌.exe");
			if(a==5) system("start %cd%/runtime/game/狼人杀.exe");
			if(a==6) system("start %cd%/runtime/game/扫雷游戏.exe");
			if(a==7) system("start %cd%/runtime/game/坦克游戏.exe");
			if(a==8) system("start %cd%/runtime/game/小game.exe");
			if(a==9) system("start %cd%/runtime/game/小鸟躲障碍.exe");
			if(a==10) system("start %cd%/runtime/game/元气骑士.exe");
			if(a==11) system("start %cd%/runtime/game/元气小胎.exe");
			if(a==12) system("start %cd%/runtime/game/战斗机.exe");
			if(a==13) system("start %cd%/runtime/tool/编码器.exe");
			if(a==14) system("start %cd%/runtime/tool/鼠标瞬移.exe");
			if(a==15) system("start %cd%/runtime/tool/页面催毁.exe");
			if(a==16) system("start %cd%/runtime/tool/电脑关机.exe");
			if(a==17) system("start %cd%/runtime/tool/电脑去世.exe");
			if(a==18) system("start %cd%/runtime/tool/高精度计算器.exe");
			if(a==19) system("start %cd%/runtime/tool/鸡兔同笼.exe");
			if(a==20) system("start %cd%/runtime/tool/计时器.exe");
			if(a==21) system("start %cd%/runtime/tool/迷宫助手.exe");
			if(a==22) system("start %cd%/runtime/tool/秒杀极域.exe");
			if(a==23) return;
}


文件放结尾了

对于%cd%可以看Bat 批处理脚本中 %cd% 与 %~dp0 区别-腾讯云开发者社区-腾讯云

对于这些.dll是C++自带的这里是用来执行程序

通过Deepseek、豆包、kimi...进行修改学习

下载(上次网站忘记放了)

game.zip - 蓝奏云

 1.0版

游戏第一代

game 1.01 - 蓝奏云

密码:77fg

  • 修复了3个已知bug
  • 从安装包变成了自解压格式
  • 删除了一个病毒

更新预告:

  • 增加三款游戏
  • 增加无敌模式
  • 增加一些网页

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值