Question: Design a text-based Minesweeper game. Minesweeper is a single-player game where the object of the game is to clear a rectangular board containing mines without

Design a text-based Minesweeper game. Minesweeper is a single-player game where the object of the game is to clear a rectangular board containing mines without ever revealing one of them. The cell on the board either contain a mine, are blank, or contain a number indicating how many mines are adjacent to the cell. All the cell are uncovered at the beginning of the game and the player needs to click on a cell to uncover it. If they find a mine, they lose. If they find a number, the number is revealed. If they find a blank, then this cell and all adjacent cells are recursively revealed. The player wins when all cells that do not contain a mine are revealed. For this exercise you do not need to code the game. What we would like to see is how you would design a program that implements the game. Your presentation should include: the UML diagrams of the classes you would use for your implementation the implementation of a method called displayBoard() which displays the current state of the board in the game.

(In JAVA pls)

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 Databases Questions!