Minimalsweeper

A minimalist Minesweeper game

Data Legend
Mines
The number of mines in the given grid.
Flags used, unflagged remaining
The raw number of spaces flagged, the number of unflagged mines remaining.
Current space
The [x,y] coordinate of the hovered space.
Surrounding
The raw calculation of covered spaces with buried mines directly adjacent to the hovered space.
Raw %age (with verified flags)
The probability that the hovered covered space contains an unflagged mine.
Heuristic %age
Heuristic probability
Win condition
Whether the given grid is won or lost.

About Minimalsweeper

Below is a Minesweeper game. The graphics are minimal because this was hastily written for a particular class project.

Observe the following controls:

capture image (opens in new window)
Mines
?
Flags used, unflagged remaining
?
Current space
?
Surrounding
?
Raw %age (with verified flags)
?
Heuristic %age
?
Win condition
not met
capture image (opens in new window)
Mines
?
Flags used, unflagged remaining
?
Current space
?
Surrounding
?
Raw %age (with verified flags)
?
Heuristic %age
?
Win condition
not met
capture image (opens in new window)
Mines
?
Flags used, unflagged remaining
?
Current space
?
Surrounding
?
Raw %age (with verified flags)
?
Heuristic %age
?
Win condition
not met
capture image (opens in new window)
Mines
?
Flags used, unflagged remaining
?
Current space
?
Surrounding
?
Raw %age (with verified flags)
?
Heuristic %age
?
Win condition
not met
capture image (opens in new window)
Mines
?
Flags used, unflagged remaining
?
Current space
?
Surrounding
?
Raw %age (with verified flags)
?
Heuristic %age
?
Win condition
not met
capture image (opens in new window)
Mines
?
Flags used, unflagged remaining
?
Current space
?
Surrounding
?
Raw %age (with verified flags)
?
Heuristic %age
?
Win condition
not met