

This program only works on the classic Windows Minesweeper (95, 98, Me, 2000, XP), with its simple graphics and lack of animations.

The program will exit if you move the mouse. Source code only: MinesweeperAutosolver.javaĬomplete package: MinesweeperAutosolver.zip (source code, compiled classes, bitmaps)Īfter unzipping, run on the command line with: java MinesweeperAutosolverĮnsure that a Minesweeper window is visible on the screen before running the autosolver. This was one of my motivations for writing the solver bot, and it finally did solve the expert level. But all this time, I was never able to solve the expert difficulty level, either because my logic was insufficient or there were too many ambiguities. Iâve wasted my fair share of time on the classic Minesweeper game thatâs bundled with Microsoft Windows. However, with some unique skills as a programmer, I can design computer programs to play games for me with incredible efficiency. I donât think I have the time or talent to bring myself to the top of the rankings.

Although Iâm not too bad of a gamer, for every game I played, Iâve seen plenty of players who are much better than myself. I wrote a Java program that plays the Windows Minesweeper game automatically â it reads the screen, computes the moves to make, and performs the mouse movements, all at superhuman speed and accuracy.Įveryone has been exposed to video games at some point in their lives. Conceding that Iâm not going to be the fastest or best gamer, I instead chose to exercise my programming skills.
