Minesweeper Game

버전 1.0.0.0 (6.75 KB) 작성자: Dahua Lin
A minesweeper game similar to the one in Windows, but implemented in pure MATLAB
다운로드 수: 5.4K
업데이트 날짜: 2008/8/26

라이선스 보기

Consider playing minesweeper in Matlab? Here's what you might want to look at.

I implement a minesweeper game with pure MatLab language. It basically imitates the minesweeper in Microsoft Windows. You can open a cell by left clicking and tag a cell as mine by right clicking. You can switch between three levels: beginner, intermediate, and advanced. There's also a timer to measure the time that you take to complete the game.

The usage is very simple. Copy the m-file (there's only one m-file) to anywhere that you like. Just type in

minesweepgame;

then you can start the game. Or you can type in

minesweepgame beginner;
minesweepgame intermediate;
minesweepgame advanced;

to start a game at desired level. You can also switch between different levels in the GUI.

In addition, you can also play a customized game, i.e. when you enter

minesweepgame(20, 25, 50);

you start a game with 50 mines in a 20 x 25 field.

인용 양식

Dahua Lin (2024). Minesweeper Game (https://www.mathworks.com/matlabcentral/fileexchange/21211-minesweeper-game), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2008a
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Minesweeper에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
버전 게시됨 릴리스 정보
1.0.0.0

make a minor fix to the description.