I created a Minesweeper example and you can do whatever you want with it.
Why did I make this? and why am I posting it?
Well to be perfectly honest I never even really played minesweeper before (at least I never really gave it a chance), The reason I made it is because a friend of mine suggested that I should make a version of Minesweeper for the MiniGames that I am doing for my Big game called Flop.
I never even considered doing a version of this but I figured I would play it for a little and see if I could work a variation of it into a mini game.
After playing for a bit and understanding the rules, I started to work on cloning it and I just kept going
Took me about an hour to come up with a working engine then a few more hours to make an example of it (and thought I might as well share it)
I am not going to use this example in my game but after creating this I now have some good ideas on how to make a version of it and mix it into a mini game for myself.
This Example is of course not exactly like the original and probably missing some features but it's all I needed to do to get my ideas.
So if you find it useful then have fun.