In the same vein, I made "winsweeper" which will move the mine and let you win all the 50/50 IFF there is no more mines that you could find.
There are some that guarantee that guessing will never be forced to guess and logical deduction is enough to solve any puzzle. For example, the Mines game in Simon Tatham's Portable Puzzle Collection.
If I marked as mine, and it is surrounded by the number 1, I would like all squares that neighbors those to be cleared automatically.
It could be triggered by double clicking the flag.
Usually you want to clear all tiles that touches, let say a "1" that is already touching a flag, and you can do just that by clicking that "1".