1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65
|
#include <iostream>
#include <string>
using namespace std;
int main()
{
string startGame;
cout<< "New game"<<endl;
cout<<" Exit game"<<endl;
cin >>startGame;
if(startGame=="ExitGame")
{
cout << "GAME OVER" << endl;
return 0;
}
else if((startGame=="NewGame") )
{
int size=0;
string Difficulty;
cout<< "Easy: 4x4"<<endl;
cout<< "Moderate 6x6"<<endl;
cout<< "Hard 8x8"<<endl;
cin>> Difficulty;
if (Difficulty== "Easy")
{
size=4;
}
if( Difficulty == "Moderate")
{
size=6;
}
if( Difficulty=="Hard")
{
size=8;
}
string MusicType[50]={"music","Rock","Hiphop","Punk","Folk","blues","country","RnB","pop","reggae","EDM","dupstep","metal","ska","jazz","disco","nosie","lofi","techno","trap","trance","opera","soul","DooWop","lounge","house","Hyphy","banda","hardcore","thrash","Crust","nortena","funk","crunk","gfunk","salsa","grunge","emo","samba","surf","mathcore","sludge","doom","screamo","rapcore","TripHop","BoomBap","Drill", "bitpop" ,"Grime"};
string answerboard [8] [8];
string Displayboard [8] [8];
for(int row=0; row<size; row++)
{
cout <<"-----------------------"<<endl;
for(int col=0; col<size; col++)
{
cout<< Displayboard[row][col]<<" | ";
}
cout<<endl;
}
for(int i=0; i<(size/size)/2; i++)
{
}
return 0;
}
}
|