AI Minesweeper
Classic Minesweeper with an honest AI: every hint comes from a real constraint solver that proves cells safe, spots certain mines, and computes exact odds when logic runs out. First click is always safe.
Classic Minesweeper with an honest AI: every hint comes from a real constraint solver that proves cells safe, spots certain mines, and computes exact odds when logic runs out. First click is always safe.
New to the game? The full beginner walkthrough is in How to Play Minesweeper.
The 💡 Hint button runs a real constraint-satisfaction solver on exactly what you can see. Every revealed number becomes a constraint — "two mines among these five hidden cells" — and the solver combines them, including the subset logic behind classic patterns like 1-2-1, to find cells that are provably safe or provably mines. It tells you which rule it used, so every hint is also a lesson.
When no proof exists, it enumerates every mine arrangement consistent with the numbers and reports each cell's exact mine probability — then recommends the safest guess, the same way strong players decide when they must gamble.
No-Guess mode goes one step further: the generator runs this same solver on candidate boards and only serves ones it verified are clearable by pure logic from your first click. No more losing to a 50/50 coin flip on the last two cells.
What do the numbers mean?
A number counts the mines in the cells touching it — all eight neighbors, fewer at edges and corners. Cells with zero neighboring mines open automatically as a blank region. The numbers never lie.
Is the first click always safe?
Yes. Mines are placed only after your first click, keeping the whole 3×3 area around it clear, so you always start with an open region — standard modern Minesweeper behavior.
What are the difficulty levels?
Beginner is 9×9 with 10 mines, Medium 16×16 with 40, Expert 30×16 with 99 — the classic Windows layouts — plus a Custom board where you pick width, height and mine count.
How does the AI hint work?
It converts every visible number into a constraint and solves the system: provably safe cells, certain mines, or — when logic alone can't decide — the exact probability that each cell hides a mine. Nothing is read from the hidden board; the solver sees only what you see.
What is No-Guess mode?
Boards verified by the solver to be clearable by deduction alone from your first click. If you're stuck in No-Guess mode, a logical move always exists — ask for a hint and it will show you the rule you missed.
Is it free? Does it work offline?
Completely free, no download, no sign-up. Board, solver and best times all run client-side, so once loaded it keeps working without a connection. More games: AI Chess, AI Connect 4, AI Checkers, AI Othello, AI Sudoku or the games hub.
Every safe cell revealed.