MineSweeper - One Click Win Frequency Analysis

This runs through a series of randomly generated beginner (8x8) Minesweeper boards, and determines if the each board is solvable in a single click.

To be one-click solvable, the following must be true:

  1. All non-bomb cells must be adjacent to at least one open cell (a cell with no bomb neighbors)
  2. The open cells must be continuous

All output is sent to the console log, not to the browser window. Run this in Chrome and press Ctrl-Shift-J, or run in Firefox and press Ctrl-Shift-K. IE 9 does not work. This is important, if you don't this page won't appear to do anything!

Board width:
Board height:
Number of bombs:
Number of iterations: (one million is the default, takes a couple of seconds. Should return about 7 hits.)

Press the Go button




Want to discuss? You can email me at "sheppoor at dataexperts.com" or better yet leave a comment on my blog post on the subject.

Published under the Creative Commons Attribution 3.0 Unported license.