Download

What does it do?

This program tries to solve the game of minesweeper. It will never guess, I have never seen it make a mistake (if it happens with you, make sure you didn't move the mouse in the minesweeper window while solving).
The program is not perfect, there are many more advanced situations where it doesn't know how to continue, in these cases you have to help it a bit. Sometimes, if the level is very hard, it will need a lot of help, sometimes it solves the Expert level in a second or 2.

How to use it?

Start minesweeper (Vista / Win7 version not supported) and the solver

Make sure the minesweeper window is totally visible (there is no other window on top of it)

Configure the solver and minesweeper the same way (difficulty, layout and window caption)

Start the game of minesweeper by clicking somewhere. Click on as many squares it takes to reveal a small field.

Hit the "Solve" button, and wait (do NOT move the mouse pointer into the minesweeper window while it is running)

If it does not solve it completely, you have to help it a hand by clicking in the minesweeper field yourself. Hit solve again to see if it knows a solution now.

How does it work?

This program does not use some weird memory-hacking technique, it just plain takes a screen-shot of the minesweeper window.
Second, it analyzes the field, and it determines on which tiles to click.
Last, it makes minesweeper think you clicked on these tiles.
This is done in a loop, because it is not possible to reveal the entire field with one screenshot.

Screenshot

Links

The Authoritative Minesweeper
A lot of info about minesweeper, and a world record list! Also various versions of Microsoft Minesweeper can be found here.