Patterns


A pattern is a common arrangement of numbers that has only one solution. If you memorise a pattern it will reduce the amount of time you use thinking.

Basic patterns

b1 (2)
      

  E
B1

  • If a number is touching the same number of cells,
  • then these cells are all mines.
b2 (2)
      

  E
B2

  • If a number is touching the same number of flags,
  • then all adjacent cells can be opened.
1-1 (4)
          

  M
1–1

  • Look at the left 1.
  • It touches the two yellow cells, so they contain one mine.
  • Now look at the right 1.
  • It also touches the two yellow cells, so it already has a mine and the third cell can be opened.
1-1p (4)
          

  M
1–1+

  • Look at the left 1.
  • It touches the two yellow cells, so they contain one mine.
  • Now look at the right 1.
  • It also touches the two yellow cells, so it already has a mine and all the remaining cells can be opened.
1-2 (4)
          

  M
1–2

  • Look at the 1.
  • It touches the two yellow cells, so they contain one mine.
  • Now look at the 2.
  • Its first mine is in the yellow cells, therefore, the second mine is in the third cell.
1-2p (4)
          

  M
1–2+

  • Look at the 1.
  • It touches the two yellow cells, so they contain one mine.
  • Now look at the 4.
  • It also touches the two yellow cells, so it already has one mine, therefore, as there are only three remaining cells, they must be mines.
1-2c (4)
          

  M
1–2C

Classic version of the 1–2 pattern:
  • Look at the purple cells, what can we say about them?
  • They can't both be mines, because that would overflow the 1. They contain a maximum of one mine.
  • Now look at the 2.
  • If the purple cells can't both be mines, then there must be a mine in the remaining third cell.
1-2cp (4)
          

  M
1–2C+

  • Look at the purple cells, what can we say about them?
  • They can't both be mines, because that would overflow the 1. They contain a maximum of one mine.
  • Now look at the 4.
  • If the purple cells can't both be mines, then there must be three mines in the three remaining cells.
1-2-1 (3)
        

  M
1–2–1

The 121 pattern has one solution. Actually, it's just a combination of two 1–2 patterns:
  • Apply the 1–2 pattern from the left.
  • Apply the 1–2 from the right.
  • And here's the final result.
1-2-2-1 (3)
        

  M
1–2–2–1

The 1221 pattern has one solution. It's also just a combination of two 1–2 patterns:
  • Apply the 1–2 pattern from the left.
  • Apply the 2–1 from the right.
  • And here's the final result.

Reduction

1-1r (3)
        

  H
1–1R

  • 2 turns into 1, since it already has one mine.
  • 4 also turns into 1, since it already has three mines.
  • Therefore, 24 turns into the 1–1 pattern and the third cell can be opened.
1-2r (3)
        

  H
1–2R

  • 2 turns into 1, since it already has one mine.
  • 3 also turns into 2, since it already has one mine.
  • Therefore, 23 turns into the 1–2 pattern and there must be a mine in the third cell.
1-2-1r (1)
    

  H
1–2–1R

  • 232 turns into the 1–2–1 pattern.

Holes

h1 (4)
          

  H
H1

  • Look at the bottom 1.
  • It touches the two yellow cells, so they contain one mine.
  • Now look at the top 1.
  • It also touches the two yellow cells, so it already has a mine and all the remaining cells can be opened.
h2 (4)
          

  H
H2

  • Look at the bottom 1.
  • It touches the two yellow cells, so they contain one mine.
  • Now look at the top 1.
  • It also touches the two yellow cells, so it already has a mine and all the remaining cells can be opened.
h3 (4)
          

  H
H3

  • Look at the bottom 1.
  • It touches the two yellow cells, so they contain one mine.
  • Now look at the top 1.
  • It also touches the two yellow cells, so it already has a mine and all the remaining cells can be opened.

Triangles

t1 (4)
          

  E
T1

  • Look at the bottom 1.
  • It touches the three yellow cells, so they contain one mine.
  • Now look at the top 1.
  • It also touches the three yellow cells, so it already has a mine and all the remaining cells can be opened.
t2 (5)
            

  E
T2

  • Look at the purple cells.
  • They contain a maximum of one mine, because they touch 1.
  • Now look at the 2.
  • If the purple cells contain a maximum of one mine, then there must be a mine in the remaining cell.
  • If you put the flag, you can see that there is one mine in the purple cells. So 1 already has a mine and all the remaining cells can be opened.
t3 (5)
            

  E
T3

  • Look at the purple cells.
  • They contain a maximum of two mines, because they touch 2.
  • Now look at the 3.
  • If the purple cells contain a maximum of two mines, then there must be a mine in the remaining cell.
  • If you put the flag, you can see that there are two mines in the purple cells. So 2 already has mines and all the remaining cells can be opened.
t4 (5)
            

  E
T4

  • Look at the purple cells.
  • They contain a maximum of two mines, because they touch 2.
  • Now look at the 4.
  • If the purple cells contain a maximum of two mines, then there must be two mines in the remaining cells.
  • If you put the flags, you can see that there are two mines in the purple cells. So 2 already has mines and all the remaining cells can be opened.
t5 (5)
            

  E
T5

  • Look at the purple cells.
  • They contain a maximum of one mine, because they touch 1.
  • Now look at the 2.
  • If the purple cells contain a maximum of one mine, then there must be a mine in the remaining third cell.
  • If you put the flag, you can see that there is one mine in the purple cells. So 1 already has a mine and all the remaining cells can be opened.

High complexity patterns

1-3-1 (7)
                

  E
1–3–1 corner

  • Look at the purple cells.
  • They contain a maximum of one mine, because they touch 1.
  • Now look at the orange cells.
  • They also contain a maximum of one mine, because they also touch 1.
  • Now look at the 3.
  • The purple and orange cells contain a maximum of two mines, so the third mine must be in the last corner cell.
  • 3 has two mines left. One of them must be in the purple cells, the other must be in the orange cells. Therefore, 1–3–1 corner has one solution.
2-2-2 (7)
                

  E
2–2–2 corner

  • Look at the purple cells.
  • They can't both be empty, because that would overflow the 2. So they contain a minimum of one mine.
  • Now look at the orange cells.
  • They also can't both be empty, because that would overflow the 2. So they also contain a minimum of one mine.
  • Now look at the corner 2.
  • The purple and orange cells contain a minimum of two mines, so 2 already has mines and the last corner cell can be opened.
  • The first mine must be in the purple cells, and the second mine must be in the orange cells. Therefore, 2–2–2 corner has one solution.
1--2--1 (6)
              

  E
1>2<1

  • Look at the purple cells.
  • They contain a maximum of one mine, because they touch 1.
  • Now look at the orange cells.
  • They also contain a maximum of one mine, because they also touch 1.
  • Now look at the 2.
  • The first mine must be in the purple cells, and the second mine must be in the orange cells. Therefore, all the remaining cells can be opened.
tp (6)
              

  E
T–pattern

  • The left 1 touches the two yellow cells, so they contain one mine.
  • The right 1 touches the two purple cells, so they also contain one mine.
  • 2 touches the two purple cells, so the remaining orange cells also contain one mine.
  • Now look at the 3.
  • The yellow and orange cells contain a maximum of two mines, so the third mine must be in the last corner cell.
  • Look at the 3 again. The first mine is in the corner, the second mine is in the bottom cells, so the third mine is in the two remaining orange cells. Therefore, cells marked with green circles can be opened.
dc (11)
                        

  E
Dependency Chain

Usually long dependency chains can be resolved by parsing from both sides.
  • First, let's start parsing from the top.
  • There is 1 mine in the yellow cells.
  • There is 1 mine in the purple cells.
  • Now, let's start parsing from the bottom.
  • There is 1 mine in the orange cells.
  • There is 1 mine in the red cells.
  • There is 1 mine in the white cells.
  • There is 1 mine in the brown cells.
  • There is 1 mine in the cyan cells.
  • Look at the green 2.
  • The first mine must be in the purple cells, the second mine must be in the cyan cells. Therefore, cells marked with green circles can be opened.

Last turns

mc1 (6)
              

  E
Mine counting

When the game comes to an end, you can determine empty cells by the number of remaining mines:
  • There are 2 mines in the yellow cells.
  • There is 1 mine in the purple cells.
  • There is 1 mine in the orange cells.
  • There is 1 mine in the red cells.
  • There is 1 mine in the brown cells.
  • The colored cells contain 6 mines in total, just as much as the number of remaining mines. Therefore, cells marked with green circles can be opened.
ltc (4)
          

  E
Combinations

In rare situations, it may be necessary to enumerate possible combinations:
  • Choose an arbitrary cell. For example, the yellow cell.
  • Let's check if there can be a mine.
  • If there is a mine in the yellow cell, then for the final solution we need 6 flags. This combination is not possible, because there are only 5 mines left.
  • Therefore, the yellow cell cannot be a mine and can be opened.