GameParticles
Games

How to Play Minesweeper: Rules, Numbers and Flags Explained

Learn how to play Minesweeper: what the numbers mean, how flags and chording work, why the first click is safe, and the two rules that solve most boards.

Updated

To play Minesweeper, click a hidden square to reveal it. A number tells you how many of the eight surrounding squares hide a mine, and a blank means none of them do. Use those counts to work out which squares are safe, reveal all of them, and you win; reveal a single mine and the game is over.

The goal and the board

The board is a grid of hidden squares with a fixed number of mines scattered under it. You are not hunting the mines. You are clearing everything else. The game ends in a win when the last safe square is revealed, and in a loss the moment you dig up a mine.

Minesweeper on GameParticles uses the three classic board sizes:

LevelGridMinesShare of squares mined
Beginner9 x 910about 12%
Intermediate16 x 1640about 16%
Expert30 x 1699about 21%

The density matters more than the size. On Beginner, one square in eight is a mine and big empty areas open on their own. On Expert, one in five is, and you spend most of the game reading tightly packed numbers.

What the numbers mean

Every revealed square that is next to at least one mine shows a number from 1 to 8. That number is the count of mines among its neighbors: the squares directly above, below, left, right and on the four diagonals. A square in the middle of the board has eight neighbors, a square on an edge has five, and a corner square has three.

A revealed square with no number is a zero: none of its neighbors is a mine. Because all of them are safe, the game reveals them automatically, and if any of those is also a zero it keeps going. That chain reaction is why one click can open a large region bordered by numbers.

Two things the numbers never tell you: which neighbor holds the mine, and anything about squares farther than one step away. All the skill in the game is combining several numbers that share neighbors.

The two rules that solve most boards

Almost every safe move comes from one of two observations about a single number.

  1. If a number equals the count of hidden squares touching it, every one of those squares is a mine. A 2 with exactly two hidden neighbors has found both of its mines.
  2. If a number already has that many mines identified around it, every other hidden neighbor is safe. A 1 that touches one flagged mine cannot have a second, so dig the rest.

Work back and forth between them. Rule 1 finds mines, those mines satisfy nearby numbers, rule 2 turns the satisfied numbers into safe squares, and the new squares give you more numbers. When neither rule applies anywhere, you need to compare two numbers at once, which is what the Minesweeper patterns guide covers.

Flags

A flag marks a hidden square you believe is a mine. It does three jobs: it stops you digging that square by accident, it lowers the mine counter so you can see how many mines are still unaccounted for, and it enables chording.

Flags are a note to yourself, not a move the game checks. Nothing stops you flagging a safe square, and the counter will drop anyway, so a wrong flag quietly poisons every deduction you make near it. You also do not need flags to win: the board is cleared when every safe square is open, and the remaining mines are flagged for you at that point.

The first click

You have no information before the first click, so a fair version of the game protects it. In our version the mines are placed only after your first dig, and they are kept out of both the square you chose and all of its neighbors. That means your first square is always a zero and always opens a region with numbers around its border. The timer starts on that first dig, not when the board appears.

Because the opening is guaranteed, there is no bad place to start. Where to start for the best chance at a large opening is a strategy question, covered in the Minesweeper strategy guide.

Chording

Chording is the one shortcut worth learning on day one. When a revealed number already has the right number of flags around it, click the number itself. Every other hidden neighbor is revealed in a single action.

For example, a 2 with two flags and three other hidden neighbors would take three separate digs. One chord click opens all three. On a large board this cuts your click count sharply.

The catch: a chord trusts your flags. If one of the flags around that number is on the wrong square, the chord digs the real mine and you lose. If the flag count does not match the number, clicking it does nothing.

Controls on GameParticles

ActionMouse and keyboardTouch
Dig a squareLeft clickTap
Flag or unflagRight clickLong-press, or turn on flag mode and tap
Toggle flag modeF key or the flag mode buttonFlag mode button
ChordClick a revealed numberTap a revealed number
New gameEnter after a game ends, or the new game buttonNew game button

Flag mode swaps what a tap does: with it on, tapping a hidden square places a flag instead of digging. Tapping a revealed number still chords. Your best time for each level and your count of cleared fields are saved in the browser.

Common beginner mistakes

  • Guessing when a certain move exists. Before clicking on a hunch, scan the whole border of the revealed area for a number that satisfies rule 1 or rule 2. There usually is one.
  • Forgetting diagonals. A number touches eight squares, and the corner neighbors are the ones people miss.
  • Miscounting at the edges. A number on the edge has fewer neighbors, which often makes it the easiest clue on the board.
  • Flagging on a hunch. Only flag squares you have proved. A wrong flag turns a later chord into a loss.
  • Reading the mine counter as truth. It shows total mines minus flags placed, right or wrong.

Try it

Open Minesweeper, pick Beginner, and click anywhere: the first dig always opens a clear area. Apply the two rules along the border until the field is clear, then move up a level. For another game of pure deduction, try Sudoku.

Frequently asked questions

What do the numbers mean in Minesweeper?

Each number counts the mines in the eight squares touching it, including diagonals. A 1 means exactly one of its neighbors is a mine, a 3 means three are. A blank revealed square means none of its neighbors is a mine, so the game opens them for you.

What are the rules of Minesweeper?

Reveal every square that does not hide a mine. Revealing a mine ends the game. Revealed squares show how many mines touch them, and you use those counts to work out which hidden squares are safe. Flags are optional markers and are not required to win.

Is the first click in Minesweeper always safe?

It depends on the version. On GameParticles the mines are placed after your first dig, and neither that square nor any of its neighbors can hold one, so the first click always opens a clear area. Some older versions only protect the clicked square itself.

Do you have to flag every mine to win Minesweeper?

No. You win the moment every safe square is revealed, whether or not a single flag is on the board. Flags are a memory aid and a requirement for chording, so many fast players place only the flags they intend to chord on.

More games guides

JSON Formatter
Developer · Format, validate and minify JSON with syntax highlighting.
↵
Base64 Encode / Decode
Developer · Encode text to Base64 or decode Base64 back to plain text.
↵
URL Encoder / Decoder
Developer · Encode or decode URL components and query strings.
↵
Hash Generator
Developer · Generate MD5, SHA-1, SHA-256 and SHA-512 hashes.
↵
UUID Generator
Developer · Generate UUIDs v4 (random) in bulk with one click.
↵
Regex Tester
Developer · Test regular expressions against text with live match highlighting.
↵
Word Counter
Text · Count words, characters, sentences, paragraphs and reading time.
↵
Case Converter
Text · Convert text between UPPER, lower, Title, camelCase, snake_case and more.
↵
List Sorter
Text · Sort, reverse, deduplicate and shuffle lists of text.
↵
Markdown Preview
Text · Write Markdown and see a live rendered preview side by side.
↵
Percentage Calculator
Numbers · Calculate percentages, increases, decreases and what % one number is of another.
↵
Color Converter
Colors · Convert colors between HEX, RGB, HSL and HSV instantly.
↵
Snake
Arcade · Eat food, grow longer, don't hit the walls. A timeless classic.
↵
2048
Puzzle · Slide tiles and combine them to reach the legendary 2048 tile.
↵
Word Grid
Puzzle · Guess the hidden five letter word in six tries using color clues.
↵
Sudoku
Puzzle · Fill the 9x9 grid with logic. Four difficulties from easy to expert.
↵
Minesweeper
Strategy · Use number clues to clear the minefield. Classic logic, three levels.
↵
Breakout
Arcade · Smash every brick with paddle and ball. Power-ups, combos, endless levels.
↵
Typing Practice
Casual · Build your WPM and accuracy with timed drills from 30 seconds to 5 minutes. Find your weak keys.
↵
TypeRunner
Arcade · Multiplayer typing race. Race friends by link, beat computer runners, or chase your own ghost.
↵
Typing Blocks
Arcade · Type each word before its wooden block lands. Miss, and the pile climbs toward the line.
↵
Bubble Shooter
Arcade · Aim, bank shots off the walls, and pop groups of three or more bubbles.
↵
Road Rush
Arcade · Race seven rivals through traffic and punch your way to the front.
↵