The strategy can be tested by running PGMS as an application while giving the class
name of the strategy as a command line argument. Alternatively, PGMS
can be used as an applet to
produce an animation of the strategy applied to a randomly selected
game.

Grab a copy of the Programmer's Minesweeper sources
and start hacking!