Sorter
minesweeper
Have you ever enjoyed a quick game on your computer or smartphone during a break or before a lecture? If so, the perfect game for those moments is the classic yet deeply captivating “Minesweeper.”
1. **Training Logical Thinking**: At its core, this game is built on a simple rule: use numbers as clues to predict the location of mines. Yet, it demands solid logical thinking. Minesweeper can hone your ability to solve problems logically, much like tackling intricate mathematical problems or debugging in programming.
2. **Intuition and Risk Assessment**: Not all squares can be resolved logically. At times, decisions based on intuition or probability, assessing risks, are required. This skill is also vital in real-world research or business scenarios.
3. **Enhancing Concentration**: A momentary lapse in Minesweeper can lead to defeat. This game, which demands high concentration in a short span, helps cultivate focus useful for daily academic or research activities.
4. **Sense of Achievement**: The feeling of accomplishment when clearing a game is unparalleled in many games. Especially when completing a challenging stage, it offers a satisfaction akin to solving complex mathematical problems.
In conclusion, while Minesweeper is a classic game, it has been the subject of extensive research in terms of algorithms and strategies. If you’re interested, delving into the profound theories behind the game can be intriguing.
Next time you take a break, why not challenge your brain with Minesweeper?
—
#01 Classic Minesweeper Updated
- 2,446
- 2,091
- 120,354
- ©
- 2018.1.27

How to play
Action | Key |
---|---|
Open Tile | mouse click |
Flagging on Tile | space bar |

The most remarkable aspect of this Scratch program is the recursive logic that automatically calculates the number of mines in the surrounding 8 tiles! The feature that automatically reveals adjacent blank spaces when clicking on an empty tile is absolutely brilliant. To implement this, it checks the tile number, and if it's 0 (no mines nearby), it automatically opens the adjacent tiles as well. Moreover, using lists as two-dimensional arrays for board management is quite the clever trick! The game manages state with two lists - MineMap (mine positions) and RenderMap (display status) - and the mechanism that links these two in response to clicks is complex yet elegantly implemented.
#02 Google Minesweeper Updated
- 3,590
- 3,175
- 101,036
- ©
- 2021.12.7
#03 Scratch Minesweeper Updated
- 328
- 317
- 23,376
- ©
- 2021.6.29

How to play
Action | Key |
---|---|
Open a square | mouse click |
Hoist a flag | Click on the flag symbol in the upper right corner, then click on the target square. |
Deactivate flag mode | Click again on the flag symbol in the upper right corner |
Difficulty selection | Click left and right arrow buttons |
Game Start | Click the Start button |
Game reset | Click the Reset button |
Return to Home Screen | Click the Home button |

What's amazing about this Scratch project is that it's all made with just one sprite! Instead of creating a separate sprite for each cell like you normally would, it's all accomplished using only the clone feature. Plus, the bomb placement and calculation of numbers in cells (showing adjacent bombs) are all done automatically. The particularly clever part is how it counts bombs in the 8 surrounding cells - using string manipulation instead of complex coordinate calculations! This makes the code much simpler and allows the entire game to be contained within a single sprite. It's seriously a technical masterpiece!
#04 Stylish Minesweeper Updated
- 387
- 317
- 7,598
- ©
- 2016.2.21

How to play
Action | Key |
---|---|
Open up a cell (e.g. in a cellphone) | mouse click |
Flag/unflag mine locations | Mouse click while pressing the space key |
Difficulty selection | Click the button at the top of the screen |

Drawing text in Scratch isn't possible with standard features, so this game implements a custom drawing engine using the pen tool. The impressive part is the "~draw char" function, which takes a hexadecimal ASCII character code and meticulously draws its outline using the pen tool, stroke by stroke. It recreates character shapes from vertex data lists, with adjustable coordinates and sizes. This clever system enables the display of numbers and time. It's an advanced technique that brilliantly utilizes griffpatch's Pen Text Engine!
#05 Minesweeper [110×80]
- 76
- 70
- 6,506
- ©
- 2021.9.24
![Minesweeper [110×80]](https://scratch.coach/wp-content/uploads/2024/03/563826099-276x206.jpg)

This version of Minesweeper is extremely difficult due to its large size (110×80).
1. Don't expect to clear it (it's nearly impossible).
2. Don't play for long (it can hurt your eyes).
3. Best played on a large screen (small tiles).
How to play:
- Click to reveal a tile. If it's a mine, the game ends.
- Press the spacebar while hovering to place a flag and mark mines.
- Numbers show how many mines are around, but colors are used instead.
Color codes:
Blue: 1, Green: 2, Red: 3, Navy: 4, Brown: 5, Cyan: 6, Yellow-green: 7, Gray: 8.
#06 Minesweeper
- 28
- 27
- 3,907
- ©
- 2014.12.29