Question: Here is what I have as starting codes. This is what I need help with. After this, create a text based user interface to allow

Here is what I have as starting codes. This is what Ineed help with. After this, create a text based user interface toallow the user to play a game of minesweeper. This should beimplemented using your Minesweeper class and a class MinesweeperGame.java which houses amain. Your user interface should be text based and operate via theconsole. Your user interface should allow the user to pick a squareto reveal or to flag a square. The user should identify whatsquare they want to reveal or flag by typing (x,y) coordinates. AlterHere is what I have as starting codes. This is what I need help with.

After this, create a text based user interface to allow the user to play a game of minesweeper. This should be implemented using your Minesweeper class and a class MinesweeperGame.java which houses a main.

Your user interface should be text based and operate via the console.

Your user interface should allow the user to pick a square to reveal or to flag a square.

The user should identify what square they want to reveal or flag by typing (x,y) coordinates. Alter your minesweeper class that represents the board via text to show the user the x,y coordinates of the various squares on the board.

Your code should display the state of the game board to the user after each move the user makes.

When the game is over the user should have the opportunity to play another game from scratch or quit the application.

\}else \{ return false; \} private char numTochar (int num) \{ return(char) ((char) num 0); \} / /minesweepertest

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!