#include<windows.h>
#include<bits/stdc++.h>
#include<conio.h>
using namespace std;
void SC(bool fr,bool fg,bool fb,bool fi,bool kr,bool kg,bool kb,bool ki)
{
short s=0;
s+=fr*4;s+=fg*2;s+=fb*1;s+=fi*8;s+=kr*64;s+=kg*32;s+=kb*16;s+=ki*128;
SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE),s);
}
void move(int x,int y)
{
COORD coord={x,y};
SetConsoleCursorPosition(GetStdHandle(STD_OUTPUT_HANDLE),coord);
}
string A[10000][10000];
int a=3,b=2,g[100],s,l,q,o=0,d=28,k,t=25,r,t1=7,t2=8,t3=9,z1=31,z2=31,z3=31,z4=31,z5=31,e,p,n,m;
char z;
int main()
{
system("mode con cols=1000 lines=1000");
SC(1,1,0,0,0,0,0,0);
srand(time(0));
int v1=rand()%3;
Sleep(1000);
if(v1==0)
{
cout<<"请耐心等待到100.";
for(int i=1;i<=100;i++)
{
cout<<"%"<<i;system("cls");
}
}
if(v1==1)
{
cout<<"等到1000吧!年轻人。"<<endl;
Sleep(3000);
for(int i=1;i<=1000;i+=5)
{
cout<<"%"<<i;
system("cls");
}
}
if(v1==2)
{
cout<<"啊咧咧咧!!!";
Sleep(3000);
for(int i=10000;i>=1;i-=15)
{
cout<<"%"<<i;
system("cls");
}
}
if(v1==3)
{
cout<<"你TM,以为我会给你进去吗!GUN";Sleep(500);system("cls");return 0;
}
g[1]=31;
g[2]=31;
g[3]=31;
g[4]=31;
g[5]=31;
SC(1,0,1,0,0,0,0,0);
SC(0,1,1,0,0,1,1,1);
cout<<"欢迎来到屠鬼子保家卫国游戏 1.31版"<<endl;
Sleep(2000);
system("cls");
system("Pause");
system("cls");
cout<<"2025年,李将军武统台湾,日本暴怒,喊了一声ちぬひて(日语)。开使进攻中国,于是上级命令李将军做军舰到黄海防御日本"<<endl<<endl;
Sleep(5000);
system("cls");
Sleep(5000);
for(;;)
{
r++;
for(int i=1;i<=5;i++)
{
for(int j=1;j<=35;j++)
{
if(j==z1-1)
{
A[i][j]="炸";
continue;
}
A[i][j]="海";
}
}
A[3][t1]="炮";
A[1][t2]="炮";
A[5][t3]="炮";
A[1][z1]="鬼";
A[2][z2]="鬼";
A[3][z3]="鬼";
A[4][z4]="鬼";
A[5][z5]="鬼";
z1-=4;
z2-=4;
z3-=4;
z4-=4;
z5-=4;
for(int i=1;i<=5;i++)
{
for(int j=1;j<=35;j++)
{
if(A[i][j]=="炮"||A[i][j]=="炸")SC(1,0,0,1,0,0,1,1);
else
{
if(A[i][j]=="鬼")SC(0,1,0,1,0,0,1,1);
else SC(0,1,1,0,0,1,1,1);
}
cout<<A[i][j];
}
cout<<endl;
}
cout<<endl;
Sleep(600);
t1-=3;
t2-=3;
t3-=3;
system("cls");//黑绿
if(r==6)break;
}
cout<<"因敌人太多,结果失手了,让10万日本妹子打到了上海码头,码头离市中心只隔着一座桥,你便在这等着鬼子的到来"<<endl;
cout<<" ●是你, ▲是日本人,▇是石墙,z开枪 wsad上下左右 可轰炸3次 k轰炸地n行m列(n,m需要输入) 枪的射程:28 "<<end
C++ 打鬼子游戏
于 2023-04-05 21:55:09 首次发布