Sapero
Log in

What Is No-Guess Minesweeper?

Updated

No-guess Minesweeper is the ordinary game, restricted to layouts that pure deduction can finish starting from your first click. Before the board reaches you, a solver plays it. If at any point the solver would have to pick between cells the numbers can’t tell apart, the layout is thrown out and another one is tried.

The rules don’t change: same numbers, same flags, same board sizes. You just never get dealt a layout that needs luck to finish. Every board on Sapero is made this way, so we can put real numbers on what the filter removes. The 50/50 itself, two cells sharing one mine with nothing to separate them, has its own chapter.

Who does it this way

Simon Tatham’s Mines, part of his open-source puzzle collection, generates guess-free boards by default. The whole grid can be deduced from the opening area, and if you prefer the riskier random kind you can switch the option off. The documentation describes exactly the moment it removes: the last few squares, two mines left, no way of knowing where. It also warns that some deductions need the total mine count.

minesweeper.online calls the same idea NG mode, and you’ll also see “no guessing” or “guess-free”. It gives you a starting position, promises that no guess is ever needed and adds a free hint button. minesweeper.now, for one, keeps separate leaderboards for the two modes because “the board-generation rules differ”.

Is Minesweeper always solvable?

No. Mines are placed at random, and a random layout has no reason to be solvable. To see how often it isn’t, we ran 2,000 random boards of each size through the engine behind Sapero. The first click went in the center. As in the game, that cell and the eight around it never hold a mine. Then our solver played to the end. It reads single numbers, compares pairs of numbers, works through whole covered regions and uses the mine counter. Each time it got stuck we counted one forced guess, let the guess land safely and carried on.

LevelBoardRandom boards with no guess neededGuesses on a random board that needs them (average)Tries until a no-guess board passes (average / worst)
Beginner9×9, 5 mines99.5%1.03.0 / 25
Intermediate9×9, 10 mines89.6%1.21.2 / 5
Pro16×16, 40 mines71.6%1.61.8 / 9
Evil30×16, 99 mines14.9%3.96.8 / 54

Beginner almost never bites. On Pro, more than a quarter of random games contain a spot our full solver can’t get past without a guess. On Evil, 85 of every 100 random boards need at least one guess, and the ones that do average nearly four. More than one Evil board in eight needed seven or more, and the worst needed 24. These counts assume every guess survives, and some guesses have better odds than a coin flip, so they aren’t a win rate. They do explain why a player who never makes a mistake still loses a good share of random Evil games.

We also checked whether the solver was simply giving up too soon. On a separate sample of 500 Evil boards, letting it search far larger regions moved the share it could finish from 13.0% to 13.8%. The guesses really are in the boards, not in our solver.

Where you click first changes things as well. Tatham writes that solubility “depends critically on where you’re starting from.” Our figures are for a center click, and a different first click gives different numbers.

How the boards are built

Since solvability depends on the starting cell, the check needs to know where the game starts. Either the site picks the opening for you, as minesweeper.online does, or it waits for your click. On Sapero the board doesn’t exist until your first click, and it’s built around the cell you chose. From there, a generator has two ways to arrive at a solvable layout.

The simple one is to place the mines, run the solver and, if it gets stuck, try again. At standard settings such as 16×16 with 40 mines you rarely need many attempts, Tatham notes, and the last column of the table agrees. On a Mac, in a single thread, an Evil board takes about 4.5 milliseconds to find on average and 35 at worst.

The other way is perturbation, which Tatham’s generator uses. Instead of discarding a stuck board, it moves mines in the parts the solver hasn’t opened yet and lets the solver try again. This works at far higher densities than he expected. There’s a catch, and his code comments admit it: moved aggressively, mines pile up in the far corners while the middle thins out. So the big moves are only allowed after more than a hundred attempts with small, local moves have failed.

Sapero only retries. Each candidate board gets its own seed, derived from the game’s seed and the candidate’s number, and the first candidate that passes is used. The same seed and the same first click therefore always produce the same board, on your phone and on our server. That’s how the server checks a finished game, and how two players in the arena get an identical board. The search stops after 5,000 candidates. In our 2,000 test boards per level, the worst Evil board took 54. Custom boards are capped at 20% mines for the same reason: at 25% on a 30×30 board the search takes seconds, and at 28% it may not find a board at all.

What each Sapero level allows

“No guessing” says nothing about how hard the logic may get, so every no-guess generator has to draw that line somewhere. Our solver sorts its reasoning into three steps. Step one reads a single number. Step two compares two neighboring numbers, which covers shapes like 1-2-1, 1-1 and 1-2 from the patterns chapter. Step three works through every possible arrangement of a whole covered region and brings in the mine counter.

Beginner, Intermediate and Pro accept only boards that can be finished with steps one and two. Evil, custom boards and most arena boards may need step three. That makes our Pro stricter than “no guessing” alone. About 16% of random Pro boards need no guess at all and are still rejected, because finishing them takes step three somewhere. Among the boards that do get accepted:

minesweeper.online promises at least one advanced situation in every Evil game. We make no such promise, but in practice almost three quarters of our accepted Evil boards needed step three somewhere.

Beginner has one extra rule. With only 5 mines on 9×9, the first click often opens nearly everything, so a candidate is rejected unless at least 9 safe cells are still covered after the opening. Without that rule, 65% of random Beginner boards would be cleared too far by the first click, and 1.6% would be won before you made a second move. That’s why Beginner needs more tries per board than Intermediate.

When only the mine counter can decide

Most deductions use the numbers next to a covered cell. A few need the counter in the corner. Here is one along the bottom wall:

Two 4s above three covered cells. Either the middle cell is a mine, or both outer ones are. The numbers allow both; the mine counter picks one.

Each 4 already touches three flags, so each needs one more mine in the two covered cells below it. Either the middle cell holds that mine for both of them, or each outer cell holds one. The numbers fit both layouts equally well. The counter tells them apart, because the first layout uses one mine and the second uses two. If this is the last covered area and the counter reads 1, the middle cell is the mine and the outer two are safe. If it reads 2, it’s the other way round. If other covered areas remain, you need to know how many mines they still hold before the counter tells you anything here.

This is step three, so on Sapero you can meet it on Evil, custom boards and in the arena, but never on Beginner, Intermediate or Pro. On a random board a similar spot can end with both layouts using the same number of mines, and then nothing settles it.

What changes for the player

The amount of work stays about the same. 3BV, the minimum count of left clicks a board takes when you place no flags (the speed chapter explains how it’s counted), barely moves when the filter is applied. Random Intermediate boards average 14.2, our no-guess ones 14.2. Pro: 63.5 against 63.1. Evil: 169.8 against 170.4. How 3BV is counted, cell by cell, is in a chapter of its own.

Beginner goes the other way. Our no-guess Beginner boards average 7.5 against 5.7 for random ones, because of the rule that keeps the first click from clearing the board. So a Beginner time on Sapero stands for more clicks than the same time on a random Beginner board.

You no longer lose a perfect Evil game on the last corner. A loss always comes from a misread, and if you play with an account, the replay of a solo game lets you step back and find it. The price is that our Pro never asks for the long chains of reasoning a random Pro board sometimes needs. The world ranking at minesweepergame.com describes its boards as random and sets minimum 3BV limits for time records. Our boards aren’t random in that sense, so don’t compare a Sapero Evil time with a record there.

Where to play it

Beginner sits on the home page, and guests can open Intermediate and Pro straight away. With an account, boards unlock as your player level grows: 5 for Intermediate, 10 for Pro, 15 for Evil, 20 for custom boards. If you’re stuck, the hint shows a covered cell without a mine, proven from the numbers on screen where possible, but try our checklist for when you’re stuck first. The answer is usually a pair of numbers you haven’t compared yet. If the numbers themselves still feel unfamiliar, the chapter on what each number means starts from 1.