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 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
Get step-by-step solutions from verified subject matter experts
