数字炸弹这款游戏适合家庭玩,在一定范围抽到炸弹的人输,代码如下:
#include<bits/stdc++.h>
#include<windows.h>
#include<conio.h>
#include<cstdio>
#define x Sleep(200);
using namespace std;
HWND hwnd=GetForegroundWindow();
string player[5];
string space=" ",space1=" ",space2=" ";
int control=1;
int minx=1,maxn=1000000;
int boom;
void print()
{
cout<<space<<"数 字 炸 弹"<<endl<<endl;
if(control==1)
{
cout<<space1<<">>1 、 单 人 游 戏"<<endl<<endl;
cout<<space2<<"2 、 双 人 游 戏"<<endl<<endl;
cout<<space2<<"3 、 三 人 游 戏"<<endl<<endl;
cout<<space2<&l