终于更新啦!
最新版本的杀手更新了清明节活动,如果有兴趣的可以玩玩。因为系统什么的原因有问题的,可以私信我。或者有需要的我把资源版链接稍后放在评论区,都是免费的。
#include<bits/stdc++.h>
#include<iostream>
#include<string.h>
#include<windows.h>
int fleg=0;
int flagg=0,again,cho,num,about,fla=0,strc,hod,cous=0,couss=0;
int xzgx,three=0,five=0,ten=0,dmon,dumo=0,paim=0,fhk=0,kill=0,killd=0,can=0;
long long money=0;long shop[4],pric[5]={
0,30,60,90};
char hyy[49]="欢迎来到杀手的世界!作者Jeffrey2020";
char hya[50]="美国某城市有7年一度的杀人锦标赛,";
char hyb[50]="每年都有5名选手参加,任务就是杀掉其他选手," ;
char hyc[50]="获得冠军的将获得巨额奖励,一次偶然,";
char hyd[50]="拥有谋杀技术的你加入了这次比赛,";
char hye[50]="参赛的人都有不同的技能,你需要力克其他人,";
char hyf[20]="登上巅峰!";
int main()
{
SYSTEMTIME sys;
GetLocalTime( &sys );
srand(time(NULL));
int b,p,x,c,d,e=0,f=0,g,h=0,i=1,j,l,m,n=5,o=0,flag=0,t1=0,t2=0,last=0;
int flog=0,tans=0,change=0,choo,ice,tangc=0,train,goch=0,game=1,choos=1;
if(flagg==0) {
for(int so=0;so<strlen(hyy);++so)
{
printf("%c",hyy[so]);
Sleep(100);
}
printf("\n\n");
flagg=1;
}
if(paim!=0&&dumo==0) paim=0;
if(couss==1) cous=1;
if(paim!=0&&dumo!=0)
{
printf("你在赌场投注了赌金\n");Sleep(1000);
switch(paim)
{
case 1:printf("恭喜恭喜!获得了200%的赌金!获得了%d元\n",dumo*3);money+=dumo*3;break;
case 2:printf("祝贺祝贺!获得了100%的赌金!获得了%d元\n",dumo*2);money+=dumo*2;break;
case 3:printf("很遗憾!只获得了全部投注的赌金!挽回了%d元\n",dumo);money+=dumo;break;
default:printf("继续加油吧,赌金就被赌场收下了\n");
}
printf("\n");
Sleep(3000);
dumo=0;paim=0;
}
if(three==3) {
printf("恭喜三连胜!\n");
Sleep(1000);
printf("我们为你准备了丰厚的奖品:150元,复活卡3张,冰冻卡2张,无敌卡1张\n\n");
money+=150,shop[1]+=3,shop[2]+=2,shop[3]+=1;
three=0;Sleep(3000);
}
if(five==5) {
printf("恭喜五连胜!\n");
Sleep(1000);
printf("我们为你准备了丰厚的奖品:300元,复活卡6张,冰冻卡4张,无敌卡3张\n\n");
money+=300,shop[1]+=6,shop[2]+=4,shop[3]+=3;
five=0;Sleep(3000);
}
if(ten==10) {
printf("恭喜十连胜!\n");
Sleep(1000);
printf("我们为你准备了丰厚的奖品:1000元,复活卡15张,冰冻卡12张,无敌卡10张\n\n");
money+=1000,shop[1]+=15,shop[2]+=12,shop[3]+=10;
ten=0;Sleep(3000);
}
printf("按1->开始游戏,按2->道具商店,按3->J神赌场,按4->活动专栏,按5->游戏规则,按6->关于游戏,按7->游戏背景,按0->退出游戏\n");
scanf("%d",&strc);
if(strc>7) {
printf("请不要乱来!\n\n");
Sleep(1000);return main();
}
if(strc==0) return 0;
if(strc==2) {
printf("---------------------------------------------\n杀手商店---");
printf("您现在有%d元\n",money);
printf("复活卡30一张,您现在拥有%d张(购买:按1)\n",shop[1]);
printf("冰冻卡60一张,您现在拥有%d张(购买:按2)\n",shop[2]);
printf("无敌卡90一张,您现在拥有%d张(购买:按3)\n(返回主页:按4)\n",shop[3]);
scanf("%d",&cho);
if(cho==4) {
printf("---------------------------------------------\n\n");
return main();
}
printf("请输入购买数量:");
scanf("%d",&train);
if(money>=pric[cho]*train) {
money-=pric[cho]*train;
shop[cho]+=train;