Minesweeper is the classic single-player logic puzzle: a grid of hidden squares, a fixed number of mines, and a number on every safe square that tells you how many mines touch it. This version has the three classic boards, a first click that always opens space, long-press flags for phones, and a best time for every level.
Minesweeper rules: open every safe square
The goal in Minesweeper is to open every square that doesn't hide a mine. Click or tap a hidden square to open it. If it's a mine, the game is over. If it's safe, it shows a number from 1 to 8, the count of mines among its eight neighbors, or stays blank when none of them is a mine. A blank square opens its neighbors automatically, so one click can clear a large patch of the board.
You win the moment the last safe square opens. You don't have to flag a single mine to win: flags only help you keep track. If you hit a mine, the board shows where every mine was, marks any flag you placed on a safe square, and tells you how much of the board you cleared.
What the numbers in Minesweeper mean
Every number counts the mines in the eight squares around it: up, down, left, right, and the four diagonals. A square on the edge has only five neighbors and a corner square has three, which makes edge and corner numbers easier to read.
Reading the board is a matter of combining clues. If a 2 touches only two hidden squares, both are mines. If a 1 already touches a flagged mine, every other hidden square around it is safe.
Beginner, Intermediate, and Expert boards
The three levels use the board sizes and mine counts that have been standard for decades:
- Beginner: 9×9 squares with 10 mines, so about one square in eight is a mine.
- Intermediate: 16×16 with 40 mines, about one square in six.
- Expert: 30×16 with 99 mines, about one square in five. It often needs a guess or two.
The mines are placed at random after your first click, and boards aren't checked to be solvable by logic alone, so now and then the numbers can't decide between two squares. That happens most on Expert, where the mines are packed tightest.
On a narrow phone screen, Expert Minesweeper turns on its end to 16 squares wide and 30 tall, so each square stays big enough to tap.
A first click that always opens an area
Mines aren't placed until you open your first square, and then never on that square or any of the eight around it. With no mines next to it, the first square is always blank, so it always opens an area of the board to work from. Some versions of Minesweeper only make sure the first click isn't a mine, which can leave you looking at a lone number with nothing to go on.
Flags, chording, and the mine counter
A flag marks a square you're sure is a mine. Right-click it, press and hold it on a touch screen, or press F on the keyboard. A flagged square can't be opened by accident: you have to remove the flag first, and blank areas spreading across the board stop at it too.
The Mines left counter shows the mines on the board minus the flags you've placed. It doesn't check your flags, so it can go below zero, a sure sign that at least one flag is wrong.
Chording saves clicks. When an opened number already has that many flags around it, click or tap the number to open all its other hidden neighbors at once. Right-clicking the number or pressing F on it does the same. Chording trusts your flags, so if one is wrong, a mine opens and the game ends. If the flags don't match the number yet, nothing happens.
Minesweeper tips beyond the basic patterns
The strategy tips above cover the common patterns. These habits help once you've played a few boards:
- Stay on the border. The numbers along the edge of what you've opened are your only clues, so work there before anywhere else.
- Know why 1-2-1 works. The 2 needs two mines among the three squares it touches. If one of them sat opposite the 2 itself, one of the 1s would touch two mines, so that square is safe and the mines sit opposite the 1s.
- Count the mines at the end. If every flag is right, Mines left is the number of mines still hidden. With 2 left and only 2 hidden squares that could hold them, both are mines.
- Guess early, not late. If a board needs a guess, make it as soon as you find it. A wrong guess then costs a few seconds instead of a nearly finished board.
- Stuck with no clues? Try a corner. A corner square has only three neighbors, so it's more likely than a middle square to be a blank that opens a new area.
If you enjoy logic puzzles with no luck at all, try Nonogram, where number clues reveal a hidden picture, or Sudoku.
Mouse, touch, and keyboard controls
The same board takes a mouse, a finger, a pen, or a keyboard, and each gets its own way to dig and flag:
- Mouse: click to dig, right-click to flag, and click a number to chord. The face above the board starts a new game.
- Touch: tap to dig, and press and hold for a moment to flag. Switch Tap or click to from Dig to Flag if you'd rather tap to flag and hold to dig.
- Keyboard: Tab to the board, move with the arrow keys, press Enter or Space to dig, F to flag, and N for a new game.
- Screen readers: every square has a label, such as hidden, flagged, or how many mines are nearby, and each move is announced.
On phones that support it, a short buzz confirms each flag and another marks a lost game. The page needs a connection to load, and from then on every dig, flag, and chord is worked out in your browser.
Timer, best times, and games won
The timer starts with your first click, not when the board appears, and runs until you clear the board or hit a mine. The display stops at 999 seconds, but your time is measured to a tenth of a second, and that decides a new record.
Under Best times, each Minesweeper level keeps your fastest win and how many of your finished games you've won. Beat your record and the result says New best time! Reset best times clears the records for all three levels.
Minesweeper history: from Mined-Out to Windows 3.1
Games about finding hidden mines from number clues appeared in the early 1980s, such as Mined-Out for the ZX Spectrum in 1983. The version most people know was created at Microsoft by Curt Johnson, first for OS/2, and ported to Windows by Robert Donner. It came out in Microsoft Entertainment Pack 1 in 1990, and in 1992 it was included with Windows 3.1, replacing Reversi. Since Windows 8 it no longer comes with a fresh Windows install.
The game interests mathematicians too. In 2000 Richard Kaye showed that deciding whether a Minesweeper position is consistent is NP-complete, which places it among the famously hard problems of computer science. This version was written from scratch for this site and isn't affiliated with Microsoft.
Your level, tap mode, and records between visits
This Minesweeper keeps one small record in your browser's local storage on this device: the level you last chose, whether a tap digs or flags, and for each of the three boards your best time, games won, and games finished. A board in progress isn't kept, so closing the tab mid-game starts a fresh one next time. Your digs, flags, and times aren't sent to a server, and the privacy policy names the storage key and everything in it.