Question: Write the code in c programming language. Note: Please write the full and correct code that works i already ask this question but your expert

Write the code in c programming language.
Note: Please write the full and correct code that works i already ask this question but your expert has written the code incomplete and incorrect.
PROJECT (MINESFIELD)
Minesweeper is a game in which a player explores an area where mines are hidden and reclaims the area. It is a strategy game in which he tries to reveal the remaining part safely. Actor usually in an area varying in size from 9x9(easy),16x16(medium) or 16x30(difficult) It moves forward and opens the squares. Each square that opens either indicates that there is a mine underneath or
It refers to a number indicating the total number of mines in the eight surrounding squares. If the player opens a square containing a mine, they lose the game.
Game logic, two-dimensional arrays and Can be operated using user input. During the game, players open squares and collect mines. Tries to guess their location. As each square is opened, it is updated like a playing field and offers new information to the player. information is given (Figure 2). The game is won when all mine-free squares are cleared. Game such as loops, conditional statements, functions, arrays and error checking during the development process. elements are important. Careful efforts to develop a user-friendly and compliant game Design and careful study are essential.
You need to pay attention to the following features in the Minesweeper game:
1: You can use a two-dimensional array of numbers as the game board. Each square or one
with a number representing the mine or the number of mines around that square. is shown. For example; If there are three mines in eight squares around a square, The number '3' is used.
2: The game should prompt the player to make a move by displaying Enter a move:. If the coordinates entered by the player are a valid move, this move is displayed on the board. should be performed and the results should be reflected on the screen. For example; User B4When entered, the move in this coordinate must be made and the status of the square (open, mined) or mine-free) should be checked.
3: A system that will keep track of the total number of moves made by the player and the number of correct guesses. There should be counters and these counters should be updated on the screen after each move.
4: When an illegal move is made (i.e. when a player chooses a previously opened square) The program detects this situation, warns the player and enters a valid move. needs to ask again for
5: After each move made during the game, you can view only the most current state of the playing field. The output should be edited to show.
Note: Write the full and correct code i dont need the step of the codes i need a correct and full code that workds.I already asked this question but your export has written incomplete and wrong code.
 Write the code in c programming language. Note: Please write the

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!