兄弟们,我搞了个好东西
废话不多说,直接上代码——
#include <bits/stdc++.h>
#include <stdio.h>
#include <iostream>
#include <time.h>
#include <conio.h>
#include <windows.h>
#include <stdlib.h>
#include <string.h>
using namespace std;
#define HP 100
int input=0;
int fangx, nextfx;
int fxfx[4][2] = {
{0, -1}, {1, 0}, {0, 1}, {-1, 0}};
int x=1,y=1;
int n=0;
int hp1=100,hp2=100,hp3=100,hp4=100,hp5=100;
void open(){
cout<<endl<<endl<<endl<<" CS:GO";
Sleep(2000);
system("cls");
}
void finsh(int input,int k){
if(input==0){
cout<<" CS:GO "<<endl;
cout<<" V 0.0.1 "<<endl;
cout<<" 玩家自作 bata 测试版 "<<endl;
cout<<"0.H| | | ?"<<endl;
cout<<"1.>| | |用"<<endl;
cout<<" | | |户"<<endl;
cout<<" | /|` | 1"<<endl;
cout<<" | / | ` | 8"<<endl;
cout<<" | / | ` | 4"<<endl;
cout<<" | / ` | 6"<<endl;
cout<<" | / ` | 7"<<endl;
cout<<"2.o| / ` | 5"<<endl;
}
if(input==2){
cout<<" CS:GO "<<endl;
cout<<" V 0.0.1 "<<endl;
cout<<" 玩家自作 bata 测试版 "<<endl;
cout<<"0.H| | ?"<<endl;
cout<<"1.>| 暂未开放 |用"<<endl;
cout<<" | 设置 |户"<<endl;
cout<<" | | 1"<<endl;
cout<<" | | 8"<<endl;
cout<<" | | 4"<<endl;
cout<<" | | 6"<<endl;
cout<<" | | 7"<<endl;
cout<<"2.o| | 5"<<endl;
}
}
//0:路,1:墙,3:出生地,4:门,5:玻璃,6:你,7:包点,8:人质,9:炸弹,10、11、12、13、14:敌人1,2,3,4,5。
int ditu[4][50][60]={
{
{1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1},
{1,6,3,3,3,3,3,3,3,3,3,3,3,3,3,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1},
{1,3,3,3,3,3,3,3,3,3,3,3,3,3,3,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1},
{1,3,3,3,3,3,3,3,3,3,3,3,3,3,3,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1},
{1,3,3,3,3,3,3,3,3,3,3,3,3,3,3,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1},
{1,3,3,3,3,3,3,3,3,3,3,3,3,3,3,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,