

Once all of the numbers are revealed, and no bombs have been revealed, the user wins the game. The overall objective of minesweeper is to reveal numbers, and use them to determine the location of every bomb on the grid. This number includes bombs touching the tile in cardinal directions, as well as diagonal directions. If a number is shown, that number is an indicator of how many bombs the tile is touching. If a bomb is shown, the user loses the game and must restart. Once clicked, the tile will reveal the number or bomb hiding behind it. Once the difficulty is chosen, a board of the desired size is randomly generated containing a grid of gray tiles, with each tile hiding either a number or a bomb behind it. The difficulty chosen will affect the size of the playing board, as well as the number of bombs, or mines, on the board. In Minesweeper, the user is typically given the option to choose a difficulty.

Minesweeper is a popular classic game that comes installed on most computers, otherwise, the game can easily be found online. Hope you enjoy this game.The second game developed by our software development team, Grayson Hollaway, Tej P atel, Ojas Deshpande, and Spencer Finck, was Minesweeper. Your critics and comment are welcomed, especially if you find a bug in this game. You can download this game from my MATLAB Fun Toolbox pages. After another half hour, it is finally done :D.Ībove are several screenshots of my minesweeper game. So to overcome this, I decided to go wild, break the format, and offer a new gameplay (means that I still don’t know how to get input from right clicking in MATLAB). Last weekend, I toss my thesis aside and spent two hours making the minesweeper game and turns out that I have a problem in creating function for marking the bomb (which is done by right-clicking in Window’s miesweeper). Since minesweeper is a single player game and do not requires any AI in it, it will be relatively easier to make than TicTacToe. After I post my TicTacToe game in MATLAB, a friend of mine challenges me to make minesweeper game in MATLAB.
