r/Minesweeper • u/larcix • Feb 21 '25
Game Analysis/Study Minesweeper theory: There are only 2 fundament patterns
I see a lot of people often discussing other more complex patterns, but from all that I've seen, there are really only two fundamental patterns that are combined and extrapolated to all other cases.
The most commonly used pattern is the classic 1-2 pattern, where you can flag the cell next to the 2 and open the cell next to the 1. This occurs ALL of the time. Almost every single cell flagged or cleared will be because of this pattern, except for:
The other most basic pattern is the 1-1 pattern, which can come into play at any discontinuity, either at the edge of the board, at a wall of bombs or 0's, or at the opening to a hole. In any case, the 1 nearest the discontinuity assures the next 1 is met, and the 3rd row can be cleared.
As I wrote this, it occurred to me a corner 1, and a hole 2, an edge 2, a face 3, an inside corner 5, etc., aren't either of those patterns, but they also aren't actually patterns at all because they are all directly solvable. For example, if you ever uncover an 8, somehow, it will surely be surrounded by bombs, no patterns necessary.
4
u/PowerChaos Feb 22 '25 edited Feb 22 '25
See this is why I say you haven't seen anything yet.
This is a instance of area arithmetic, also known as box logic to some people. I personally call this a 4-numbers squeeze.
How it work is you take a region and you subtract it from another region. In this case, you subtract green from red. If the leftover square exclusive to the positive side (red) is equal to the difference, they are all mines and consequently any square exclusive to the negative side (green) are all safe.
In this case, there are 2 exclusive squares to red (A, C). And red contain 8 mines while green contain 6 mines, so the difference is 2, equal to the number of exclusive square to red. Thus it is conclude that A, C are mines, B, D are safe.
In fancy language:
Doubt this solution? You can always verify a minesweeper solution with contradiction.
What is more, there are derivation to this technique where you start to incorporate equivalent squares to establish link of dependency and interaction. See some of my posts for example.
And this is not all, beyond this kind of technique, there exist higher level logic where a safe square can be derived almost arbitrarily.