![]() ![]() We could simply use 10x10 JButtons arranged in 10x10 GridLayout on a JPanel/ JFrame's ContentPane. ![]() You win if all the cells not containing mines are revealed you lose if you reveal a cell containing a mine. You left-click to reveal a cell and right-click on a cell to plant/remove a flag marking suspicious mine. The objective is to clear a rectangular mine field containing hidden "mines" without detonating any of them, with help from clues about the number of neighboring mines in the revealed cells. Mine Sweeper is a single-player mind game. You could wiki "Mine Sweeper" to understand the rules of the game. ![]() Do TODO 1 and run the program (2/10 points).The pre-requsite for this assignment is: You shall be able to program "SwingPhoneApp" in the "Exercises: Graphics Programming". Unfortunately, you have only little time to complete this mini-assignment. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |