Minesweeper: the final project of the Winchester High School 2017-2018 APCS classes.

View the Project on GitHub wps-2017-2018-apcs/whs


Minesweeper is a game common to Windows computers since 1992. Gameplay (as described in Wikipedia) is:

The goal of the game is to uncover all the squares that do not contain mines without being “blown up” by clicking on a square with a mine underneath. The location of the mines is discovered by a process of logic. Clicking on the game board will reveal what is hidden underneath the chosen square or squares (a large number of blank squares may be revealed in one go if they are adjacent to each other). Some squares are blank but some contain numbers (1 to 8), each number being the number of mines adjacent to the uncovered square. To help avoid hitting a mine, the location of a suspected mine can be marked by flagging it with the right mouse button. The game is won once all blank squares have been uncovered without hitting a mine, any remaining mines not identified by flags being automatically flagged by the computer.

Additional documenation

Notes The additional notes for the Minesweeper project.
Javadoc The Javadoc for the Minesweeper API.
Maven The Maven project documentation.