THINK. FLAG. SURVIVE.

Minesweeper Game

Reveal hidden squares, use number clues to locate dangerous mines, and carefully clear the board without triggering an explosion in this classic puzzle game of logic, strategy, and nerve.

About the Game

Minesweeper is a classic logic puzzle game where you clear a grid of hidden squares without touching any of the mines buried underneath. Each square you open shows a number, and that number tells you how many mines are touching it. Your job is to use those numbers to work out where the mines are and where it is safe to click.

This online version plays right in your browser, with no download, no account, and no sign-up. It keeps the feel of the original computer game and adds a modern look. Tiles have a raised 3D appearance, numbers are color coded, and there are detailed mine and flag graphics. You can switch between a light theme and a dark theme at any time.

You can pick from three standard difficulty levels or build your own board:

  • Beginner: 9 × 9 grid with 10 mines
  • Intermediate: 16 × 16 grid with 40 mines
  • Expert: 30 × 16 grid with 99 mines
  • Custom: Choose your own width, height, and number of mines

The game also includes a digital timer, a mine counter, best-time tracking for each difficulty, win and loss statistics, optional hints, sound effects you can turn on or off, and full support for mouse, keyboard, and touchscreen play. It works in current versions of Chrome and Firefox and adjusts to desktop and mobile screens.

How to Play

  1. Choose a difficulty. Select Beginner, Intermediate, Expert, or Custom from the difficulty menu.
  2. Open your first square. Click or tap any square to start. Your first click is always safe, and the timer starts when you make it.
  3. Read the numbers. A number shows how many of the eight surrounding squares contain a mine. A "1" means exactly one mine is next to it. A "3" means three.
  4. Open empty areas. If you reveal a square with no mines around it, the game automatically opens the neighboring squares, which can clear a large area at once.
  5. Flag suspected mines. When you are sure a square hides a mine, mark it with a flag so you do not click it by accident.
  6. Keep going. Use the clues to open every safe square. Clear them all to win.

Controls

Mouse

  • Left-click: reveal a square
  • Right-click: place or remove a flag
  • Middle-click, or left and right together: chord (see the Rules section)

Keyboard

  • Arrow keys: move the selected square
  • Enter or Space: reveal the selected square
  • F: place or remove a flag
  • C: chord on the selected number
  • P: pause or resume
  • Escape: close a menu or dialog

Touchscreen

  • Tap: reveal a square
  • Flag mode: turn on Flag mode, then tap squares to flag them
  • Long-press: place a flag without switching modes
  • Tap a revealed number: chord

Number Colors

Each number has its own color so you can scan the board quickly: 1 is blue, 2 is green, 3 is red, 4 is dark blue, 5 is dark red, 6 is teal, 7 is near black, and 8 is gray. A colorblind-friendly palette is available in Settings.

Objective

The goal of Minesweeper is to reveal every safe square on the board without revealing a mine. You do not need to flag every mine to win. You win the moment the last safe square is opened.

Most players also try to finish as fast as they can. The game saves your best time for each difficulty level, so you can keep trying to beat your own record.

Rules

  • Mines are placed at random. No square holds more than one mine.
  • The first click is always safe. By default, the squares around your first click are also kept clear, which gives you a safe opening area. You can adjust this in Settings.
  • Numbers count the eight neighbors. Each number counts mines in the squares touching it, including diagonals.
  • Revealing a mine ends the game. The mine you hit is highlighted, all other mines are shown, and any wrongly placed flags are marked with an X.
  • You win by opening every safe square. The timer stops, and your time is checked against your best time for that difficulty.
  • Flags protect squares. A flagged square cannot be opened by a normal click or by the automatic opening of empty areas. Right-click it again to remove the flag.
  • The mine counter can go negative. The counter shows the total mines minus your flags. If you place more flags than there are mines, it drops below zero. This is normal. You can turn on a setting to limit flags to the total number of mines.
  • Question marks are optional. If you enable them in Settings, removing a flag first turns it into a question mark, which you can use for squares you are unsure about.
  • Chording is optional. When a revealed number has exactly as many flags around it as its value, chording opens all of its remaining neighbors in one move. If any of those flags are wrong, you will hit a mine and lose. If the flag count does not match the number, nothing happens.
  • Pausing stops the clock. The board is hidden while the game is paused so the pause cannot be used to study it. The game also pauses automatically when you open the settings or statistics windows, or switch to another browser tab.

Tips and Tricks

  1. Start with the corners and edges. Squares in corners have only three neighbors and edge squares have five, so their numbers are easier to solve.
  2. Look for the easy "1" patterns. If a "1" has only one hidden square next to it, that square is a mine. Flag it.
  3. Use the flags you already know. Once a number has all of its mines flagged, every other hidden square around it is safe. Open them, or chord if you have that on.
  4. Try the "1-2" pattern. When a 1 sits next to a 2 along a wall, the extra hidden square beside the 2 is usually a mine, and the squares next to the 1 are safe. Work it out from the hidden squares they share.
  5. Compare neighboring numbers. If two numbers share hidden squares, subtract one from the other. The difference often shows exactly which squares hold mines.
  6. Flag as you go. Marking mines makes the numbers easier to read and sets you up for chording.
  7. Learn to chord. Chording saves a lot of clicks and is the biggest speed boost for experienced players.
  8. Do not guess unless you must. Scan the whole board for a certain move first. Guess only when no safe move is left, and choose the square least likely to be a mine.
  9. Use hints wisely. The Hint button highlights a square that is proven safe from the visible numbers. You get three hints per game. If there is no certain move, the game tells you so.
  10. Play on a board size that fits your screen. Larger cells make clicking more accurate. In Settings you can choose Small, Medium, or Large cells and adjust the board spacing.
  11. Practice on Beginner first. The small board is a good place to learn the number patterns before moving to Intermediate and Expert.

Frequently Asked Questions

Is this Minesweeper game free?

Yes. You can play as many games as you like for free. There is no download, no account, and no sign-up.

Do I need to download or install anything?

No. The game runs in your web browser. It works in current versions of Google Chrome and Mozilla Firefox.

Can I play on my phone or tablet?

Yes. The board adjusts to your screen. Since touch screens have no right-click, use Flag mode or long-press a square to place a flag.

Is the first click ever a mine?

No. Mines are placed after your first click, so your first square is always safe. By default, the squares around it are also kept clear. You can change either option in Settings.

Can I play without guessing?

Most boards can be solved using logic, but some may need a guess at some point, as in the original game. The Hint button shows a safe square when one can be proven from the numbers on the board.

What is chording?

Chording is a shortcut. On a revealed number that already has the correct number of flags around it, you middle-click, left and right click together, press C, or tap the number on a touchscreen. The game opens all remaining hidden neighbors at once. It only works if the flag count matches the number.

Why is the mine counter showing a negative number?

The counter is the total number of mines minus the flags you have placed. If you place more flags than there are mines, it goes below zero. At least one flag is in the wrong place, so check your flags.

How are best times saved?

Your best time is saved in your browser for each difficulty level. Your wins, losses, and win percentage are saved too. Clearing your browser data removes them. You can also reset your statistics in the Best Times window.

Does the game have sound? Is there music?

The game has short sound effects for revealing squares, placing flags, winning, losing, and using the menus. There is no music. You can turn sound on or off with the speaker button, and you can change the volume in Settings.

Can I change the board size?

Yes. Choose Custom and set the number of columns, rows, and mines. The mine count must be lower than the total number of squares.

Is there a dark mode?

Yes. Use the sun and moon switch in the upper-right corner to change between light and dark themes. Your choice is remembered the next time you visit.

Does it support keyboard play and accessibility features?

Yes. You can play entirely with the keyboard. Settings include larger numbers, larger controls, a high-contrast mode, a reduced-motion mode, a colorblind-friendly number palette, and a visible indicator for the selected square. Screen readers can read each square's status.

What is the best strategy for winning?

Start with the numbers that give certain answers, such as a "1" with only one hidden neighbor. Flag mines as you find them, compare neighboring numbers, and use chording to move faster. Guess only when no safe move is left.