Puzzhive

Logic puzzle

Minesweeper: Clear the Board Without a Single Guess

Play Minesweeper free online: Beginner 9×9, Intermediate 16×16 or Expert 30×16. Safe first click, boards that never need a guess, flags and best times.

Minesweeper

Open every safe square. Each number counts the mines touching it.

Setting up the board…
0 comments

How it plays

Minesweeper is a logic puzzle you can play right here in your browser, on the three classic boards: Beginner 9 × 9 with 10 mines, Intermediate 16 × 16 with 40 and Expert 30 × 16 with 99. Mines are hidden under the covered squares. Dig a square to open it; if it is not a mine, it shows how many mines touch it. Use those numbers to work out where every mine is, flag them, and open every other square to win. Your first dig is always safe, and every board here can be cleared by reasoning alone, so you never have to guess.

How to play

Choose a board size with the buttons above the board, then tap or click any square to dig it. The first dig opens an area, because neither that square nor any square around it holds a mine. From there:

  • A number tells you how many mines touch that square, counting all eight neighbours, diagonals included.
  • A blank square has no mines around it, so the game opens its neighbours for you, and keeps going until it reaches numbers.
  • A flag marks a square you are sure holds a mine. Press and hold a square to flag it, right-click it on a computer, or switch the button under the board to Tap: flag. Flagged squares cannot be dug by accident.
  • Tapping a number that already has the right number of flags around it opens all its other covered neighbours in one go.

Mines left above the board is the number of mines minus the flags you have placed, so it can go below the real count if a flag is wrong. The clock starts with your first dig. Undo takes back your last move, even a dig that hit a mine. New board deals a fresh board of the same size.

On a keyboard, the arrow keys move between squares, Home and End jump to the start or end of a row, Enter or Space digs (or flags, in flag mode) and F places or removes a flag.

Rules

  1. Open every square that does not hold a mine. You do not have to flag the mines to win.
  2. Digging a mine ends the board. Every mine is then shown, and any flag you placed on a safe square is crossed out.
  3. A number counts the mines in the up to eight squares that touch it: above, below, left, right and the four diagonals. A corner square has three neighbours and an edge square has five.
  4. A flag only marks a square for you. The game does not tell you whether a flag is right until the board ends.

Tips and strategy

Start with the ones. A 1 that touches only one covered square has found its mine. Flag it, and every other square around that 1 is safe.

Look for a full number. When a number already has as many flags around it as its value, all its other covered neighbours are safe. Tap the number to open them at once.

Compare neighbouring numbers. A 1 next to a 2 along a wall often settles a whole row. If the squares the 1 can see are all also seen by the 2, the 2's extra squares hold exactly one more mine than the 1's.

Use the mine count at the end. When only a few covered squares are left, Mines left can decide them: if it matches the number of covered squares, they are all mines; if it reaches zero with your flags all correct, the rest are safe.

Never guess here. Every board can be cleared by reasoning, so if you feel stuck, look again: somewhere a number already gives the answer.

FAQ

Will I ever have to guess?

No. Mines are placed after your first dig, and before they are, the game checks the layout with a solver that sees only what you see: the numbers on open squares and the mine total. It keeps the first layout that the solver can clear from your first square by reasoning alone. In testing a guess-free layout was always found. If one ever were not, the game would say so under the board after your first dig.

Is the first square always safe?

Yes. The square you dig first and all eight squares around it never hold a mine, so the first dig always opens an area of blank squares and numbers to work from.

Why is the Expert board standing up on my phone?

Expert is 30 squares wide and 16 tall, which would leave the squares too small to tap on a phone held upright. So when the space for the board is clearly taller than it is wide, a new Expert board is dealt standing up, 16 squares wide and 30 tall, with the same 99 mines. Beginner (9 × 9, 10 mines) and Intermediate (16 × 16, 40 mines) are square, so they never turn.

How do I place a flag on a phone?

Press and hold a covered square, or switch the button under the board from Tap: dig to Tap: flag, so that every tap places or removes a flag. In flag mode a long press digs instead. On a computer, right-click a square, or press F on the square that has the keyboard focus.

What happens when I tap a number?

If exactly that many flags touch the number, every other covered square around it opens at once. If one of those flags is wrong, this can open a mine. If the flag count does not match, nothing opens: the covered squares around the number light up for a moment and the game tells you how many flags it needs.

Can I undo a move?

Yes. Undo takes back your last dig, flag or number tap, even the one that hit a mine. A board you finish after using Undo is not saved as a best time.

How is my time counted?

The clock starts with your first dig and stops when you clear the board or hit a mine. It pauses while the game is in a hidden tab. Each size keeps its best time, from boards finished without Undo, in this browser on this device.

Can I close the page in the middle of a board?

Yes. In this browser on this device, each size keeps its board as the list of moves you made, with the clock, so you can come back later and Undo still works from where you left off. New board replaces the board for that size, and asks first when you are partway through one.

More puzzles

If you like working out what must be true from a few numbers, try Futoshiki, where the clues are greater-than signs, or Killer Sudoku, where they are cage sums. You can also browse more logic puzzles or see all games.

Players’ notes

Stuck on a board, or found a trick worth sharing? Leave a note. No account needed.

No notes yet. Yours would be the first.