Hey guys i dont know how to progress to finish off my minesweeper game i have no idea how to match the co-ordinates with the mines so that the player can find squares can anyone show me the code which will allow me to finish this game off as it is a starter project i cant seem to finish.
//**********************Play_gameSubroutine******************//
void Play_game()
{
system ("CLS");
int minegrid [9][9] = {0};
int minecount = 0;
int xnum;
int ynum;
int i;
int j;
cout <<"How to play:" << endl;
cout << endl;
cout <<"Manic Mines is a game about finding mines in the game board." << endl;
cout << endl;
cout <<"Type in the co-ordinates of the square you wish to manipulate." << endl;
cout << endl;
cout <<"There is 3 options to manipulate the board." << endl;
cout << endl;
cout <<"If you hit a mine then the game will end." << endl;
cout << endl;
cout <<"There will be 10 mines in the grid to find." << endl;
cout << endl;
cout <<"When you first uncover a square you cannot detonate a mine." << endl;
cout << endl;
cout <<"When you select a square and it is not a mine," << endl;
cout << endl;
cout <<"Then the areas around it will be uncovered." << endl;
cout << endl;
cout <<"Your highscore will be based on time completed." << endl;
cout << endl;
cout <<"A score will not be saved if you fail to clear the board." << endl;
cout << endl;
cout <<"Good Luck!!!" << endl;
cout << endl;
cout <<"Happy Manic Mining..." << endl;
cout << endl;
system("PAUSE");
}