Question: Program #2 please just basic C++ because i am a frreshmen and my prof will ask me how i did it, and dont forget to
Program #2 please just basic C++ because i am a frreshmen and my prof will ask me how i did it, and dont forget to comment
Implement a modified version of the game minesweeper in C++. If you are unfamiliar with the original minesweeper game, see here ?https://en.wikipedia.org/wiki/Minesweeper_(video_game)
However, your game will work in the following manner. You will have 10 x 10 grid. You will randomly place 60 mines among the 100 cells. You will ask the user to enter a guess for the coordinates 5 times. If the user hits a mine, he loses. If after 5 tries, he doesnt hit a mine, he wins. Initially, all squares on the board will have a 0 If the user misses a mine, change the 0 to a 1. If the user hits a mine, then change all the squares where there are mines to a x Keep the safe squares with a 0.? Also, after each move, the program must print an updated version of the board.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
