Minesweeper in MATLAB


After I post my TicTacToe game in MATLAB, a friend of mine challenges me to make minesweeper game in MATLAB. Since minesweeper is a single player game and do not requires any AI in it, it will be relatively easier to make than TicTacToe. So, I took the challenges.

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). 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). After another half hour, it is finally done😀.

MATLAB Minesweeper – Screenshot 01

MATLAB Minesweeper – Screenshot 02

MATLAB Minesweeper – Screenshot 03

MATLAB Minesweeper – Screenshot 04

Above are several screenshots of my minesweeper game. You can download this game from my MATLAB Fun Toolbox pages. Your critics and comment are welcomed, especially if you find a bug in this game. Please tell me so I can correct it. Hope you enjoy this game.

Regards,

0X_R

This entry was posted in Uncategorized and tagged , . Bookmark the permalink.

2 Responses to Minesweeper in MATLAB

  1. Hicha Aquino says:

    Yeah, you hit that challenge!
    What about the function of “right click”?

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s