A programming assignment

Ever found yourself stuck playing minesweeper while procrastinating doing something else? Ever thought it was a stupid game that a computer would play far better than you do?

Windows Minesweeper

Now you have a chance to test that hypothesis: Your task is to write a program that plays Windows Minesweeper for you. The program should control and interpret the GUI of the MS Minesweeper program. It should be written in C++ and use Win32 APIs and/or MFC. The project should preferably compile in Microsoft Visual studio1.

The assignment is intentionally left quite open to encourage creative solutions. It is up to you to design program execution and interaction. We do, however, require that your program is able to play multiple sequential games and give statistics about how it is doing. Of course there are lots of different improvements that can be done to an original naïve implementation but figuring out what they are and which you feel like implementing is up to you.

An important point with this assignment is that we should be able to discuss some code you have written in a possible future interview situation.

Submit your project to assignment@qualisys.com

1 We will only be able to test your program on Win7 or WinXP with Visual studio 2008 or Visual studio 2010. We will accept submissions for other environments or operating systems but considering we work with the Microsoft platform it is seen as a huge merit if the program is written for that environment.