On a straight edge with exactly three covered neighbors, a 1–2–1 marks mines at both ends and a safe middle cell. Before using the pattern, account for flags and any other covered neighbors.
These examples show a straight edge where the numbered cells have no other covered neighbors. First subtract any already confirmed adjacent mines from each clue. Rotate or mirror the layouts as needed.
1–2–1
1 2 1 A B C
The left 1 touches A and B. The middle 2 touches A, B and C, so C must contain a mine. The right 1 touches B and C, which makes B safe. A must contain the remaining mine.
1–2–2–1
1 2 2 1 A B C D
The left 1 touches A and B. The left 2 adds C to those neighbors, so C is a mine. From the right, the right 1 touches C and D and the right 2 adds B, so B is also a mine. With B and C flagged, A and D are safe.
When the pattern changes
Check both sides of the border. Extra covered neighbors change the constraints, even if the visible numbers look identical. Look for a different clue or practice with the daily no-guess board.
See the Minesweeper Online pattern reference for variations.