Write a GUI class for a Minesweeper programme
- or -
Post a project like this2511
$
- Posted:
- Proposals: 1
- Remote
- #1557744
- Awarded
Description
Experience Level: Entry
write a class MinesweeperGUI which gives a graphical user interface to the supplied Minefield class. The Swing GUI should consist of a window with an area which displays the minefield of the requisite size, and an area with other controls and displays, as follows:
• On starting the program, the GUI should display a predefined size of minefield eg 10 x 15 with 20 mines. You should allow the user to create a minefield of differing sizes and difficulty.
• The main area should give an up-to-date display of the minefield, showing tiles that have been revealed, tiles that have been marked and tiles that have not yet been investigated.
• The user should be able to either step on a tile, mark a tile as containing a mine, or remove a flag from a marked mine. Use a left click to step on a tile, and a right click to flag a tile, or to remove a flag from a tile.
• At the conclusion of a game, either because a mine is stepped on, or all the mine are correctly flagged, you should provide congratulations or commiserations, and the option to play again.
Files will be provided upon request.
• On starting the program, the GUI should display a predefined size of minefield eg 10 x 15 with 20 mines. You should allow the user to create a minefield of differing sizes and difficulty.
• The main area should give an up-to-date display of the minefield, showing tiles that have been revealed, tiles that have been marked and tiles that have not yet been investigated.
• The user should be able to either step on a tile, mark a tile as containing a mine, or remove a flag from a marked mine. Use a left click to step on a tile, and a right click to flag a tile, or to remove a flag from a tile.
• At the conclusion of a game, either because a mine is stepped on, or all the mine are correctly flagged, you should provide congratulations or commiserations, and the option to play again.
Files will be provided upon request.
Miles B.
100% (1)Projects Completed
1
Freelancers worked with
1
Projects awarded
100%
Last project
4 May 2017
United Kingdom
New Proposal
Login to your account and send a proposal now to get this project.
Log inClarification Board Ask a Question
-
https://www.google.co.uk/search?q=class+minesweeper&ie=utf-8&oe=utf-8&client=firefox-b&gfe_rd=cr&ei=oxYKWfHqMoPW8AfyxK3QCg#q=c%2B%2B+class+minesweeper
407657
We collect cookies to enable the proper functioning and security of our website, and to enhance your experience. By clicking on 'Accept All Cookies', you consent to the use of these cookies. You can change your 'Cookies Settings' at any time. For more information, please read ourCookie Policy
Cookie Settings
Accept All Cookies