Minesweeper

This is a simple processing.js clone of the Windows game Minesweeper. The end of junior year interrupted my progress, but I had big plans for this game. One problem with the original minesweeper was that there were times when it came down to a guess between two possible squares, making it a game of luck instead of one of logic. To remedy this, I decided to build an auto solve function that would find when it couldn't use logic to uncover any more. When it found this impasse, it would automatically reveal a non-mine square so that the user could continue to play. I spent the last day working on the auto solve script that would use the user's first click to slowly solve the grid. This was an interesting experience in some Artificial Intelligence work, because it was hard converting the strategies I used when I played the game into something the computer could do. After that I wanted to use my PHP and MySQL knowledge to build a leaderboard and eventually some fun multiplayer versions. The clock still runs too fast and due to a little processing.js issue with the first click in the game, sometimes the user's first game might start with them hitting a mine.