初次尝试做CS:GO(C++)

兄弟们,我搞了个好东西

 废话不多说,直接上代码——

#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,
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值