Thanks for visiting my page! I put together this little C program in a fit of boredom while learning some of the basics of Windows programming. I have played thousands of Minesweeper games (my best time in Expert is 147 seconds) and felt that I knew the logic of this game well enough to implement it. I also stole the bitmaps directly from the game, so it has an authentic look and feel. You left click to expose a square, right click to mark a mine and middle button click (never figured out how to handle the simultaneous left and right click, you people without a middle mouse button are SOL unless you want to add that improvement (please let me know if you figure it out!)). This version ought to work with other Windows compilers, but I only tested Visual C++ (project files for 6 and 7 are included). I started a version in FLTK, but never got all the bugs worked out, if you want what I have just drop me a line.
Below are a series of links to a zipped up version of the entire contents of this directory, just the executable if you want to trust me (no warranty expressed or implied! Use at your own risk!) as well as the individual source code files if you just want to take a look.
If you have any questions or comments, I can be reached at koxenrider[at]sol[dash]biotech[dot]com.
Enjoy!
MynSweet.exe
Mynsweet.zip
bitmap1.bmp
blank.bmp
bomb.bmp
default.bmp
eight.bmp
five.bmp
flag.bmp
four.bmp
Makefile.win
missed.bmp
MynSweet.c
MynSweet.dsp
MynSweet.dsw
MynSweet.rc
MynSweet.sln
MynSweet.vcproj
one.bmp
resource.h
seven.bmp
six.bmp
three.bmp
two.bmp