DailyMindPlay

Exact Minesweeper Solver & Probability Calculator

Tap numbers directly on the grid (or upload/paste a screenshot from Google or Classic Minesweeper) to calculate exact 100% safe moves and lowest-risk odds locally in your browser.

Comments
Guide · FAQ ↓
Quick Answer: DailyMindPlay’s Minesweeper Solver uses rule deduction and exact BigInt connected-component combinatorics to highlight 100% proven safe cells (green), proven mines (red), and exact mine probabilities with clickable step-by-step reasoning.

How to Use the Minesweeper Solver in 3 Steps

  1. Choose Paint or Screenshot Mode: In Paint Board, pick a preset (Beginner 9×9, Medium 16×16, Expert 16×30, or custom R×C) and tap tiles with a number brush (0–8, Flag, or Covered) — tap a painted tile again with the same brush to clear it back to covered. Or switch to 📷 Upload Screenshot and press Ctrl+V / ⌘V to paste any board screenshot directly.
  2. Check “Partial / Cropped Board” if Needed: If you only entered a tricky corner instead of the full game board, leave Partial / cropped board checked so the solver treats the cropped border as open territory rather than solid walls.
  3. Click “Solve & Explain →”: Every guaranteed safe tile turns green (✓ 0%), every guaranteed mine turns red (⚑ 100%), and any uncertain frontier square shows its exact mine percentage — with the statistically safest guess outlined in blue.

How Our Solver Avoids Common Calculator Mistakes

  • Exact BigInt Combinatorics (Zero Rounding Bugs): Basic calculators use floating-point estimates that can round a 0.04% mine chance down to “0% safe.” Our solver counts valid mine layouts with arbitrary-precision JavaScript BigInt arithmetic: tiny nonzero risks display as <1%, while green checkmarks mean mathematically zero mine layouts exist.
  • Connected-Component Factorization: Instead of freezing on big 16×30 Expert grids, the solver splits independent frontiers into separate components and recombines them with the remaining global mine count — solving complex boards in milliseconds.
  • Safe Partial / Cropped Boards: Turning on Partial / cropped board prevents false “edge wall” proofs on cropped screenshots and disables invalid global mine-count deductions.
  • 100% Local Screenshot Processing: Auto-detects Google Green and Classic Gray board edges right inside your browser Canvas (or lets you tap Top-Left and Bottom-Right to fine-tune) — your image never leaves your device.

Good vs. Bad Screenshots: Real Examples & Universal Recognition

Our universal screenshot engine runs 100% locally in your browser Canvas — no image is ever uploaded. Using 2D square-grid detection, adaptive background clustering, and 5×7 digit shape + HSV hue fusion, it reads flat screenshots from Google Minesweeper (desktop landscape & mobile portrait), Classic Windows, Dark Mode, and other square-grid Minesweeper apps, then verifies clues against Minesweeper math so impossible reads automatically become dashed ? tiles for 1-tap review.

✓ Good: Direct Flat ScreenshotAny Theme · Top Bar OK
Split example of clean direct flat Minesweeper screenshots showing Google Minesweeper on the left and Dark Mode Minesweeper on the right
  • Take a direct screenshot (Win+Shift+S, ⌘+Shift+4, or phone screenshot)
  • Works on Google, Classic, Dark Mode, & other flat Minesweeper apps via Auto (Any Theme)
  • Top timer bar is OK — after upload, we auto-crop it & estimate Rows × Cols
✕ Bad #1: Phone Photo of a ScreenTilted · Glared · Blurry
Tilted and glared phone camera photo of a Minesweeper screen with reflection and moire blur that cannot be aligned to a flat square grid
  • Pointing a phone camera at another monitor adds tilt, window glare, and moiré blur that break square alignment
  • Quick fix: Use a direct screenshot, or switch to 🎨 Paint Board + Partial board for the 4×6 stuck corner (~10s)
✕ Bad #2: Tiny or Blocked BoardPopups · Zoomed Out
Cluttered zoomed-out desktop browser screenshot with a tiny blurry Minesweeper board partly covered by a notification popup
  • Notification popups covering numbers or a tiny board in a cluttered desktop capture leave too few pixels to read 1–8
  • Quick fix: Close popups and screenshot closer to the board — you can fine-tune the red grid in Step 2 after uploading

Reading Solver Results (0%, 100%, Blue Outline & Contradictions)

Exact Solver Output · 1-2-1 FrontierUse Live Solver Above ↑
no-guess minesweeper solver showing 100% safe cells, 3 proven mines, and 5 clickable step-by-step deduction rules
Captured from our Exact Solver 4×6 demo on a 1-2-1 frontier: scroll up to the live board above and click any numbered proof step to highlight its premise clues.
Visual HighlightExact MeaningWhat to Do Next
Green ✓ (0%)Mathematically zero valid layouts place a mine hereClick safely — click the step link below the board to see why
Red ⚑ (100%)Every valid mine layout requires a mine on this tileFlag it (or mentally subtract it to unlock nearby numbers)
Blue Outline (e.g. 25%)No guaranteed safe move exists; lowest-risk survival tileClick this tile — it maximizes survival odds (see our 50/50 Guide)
Red Contradiction BannerEntered clues cannot simultaneously be trueClick ↩ Undo Last Edit to fix a typo or wrong flag on your real board

Solving a green-and-tan Google board? Jump straight to our pre-tuned Google Minesweeper Solver, or switch to No-Guess Minesweeper Online if you want boards that never force a guess.

Frequently Asked Questions

Does the Minesweeper screenshot solver upload my images?

No. Screenshot cropping, grid detection, and probability math run 100% locally inside your browser Canvas with zero server uploads.

Why does the solver show percentages instead of a safe move?

When no tile is 100% safe across all valid mine arrangements, the solver computes exact mine probabilities and outlines the statistically safest move in blue.

Why did the solver report a contradiction on my board?

A contradiction means two entered numbers or flags cannot both be true at the same time — usually because a number was mis-entered or a flag on your real board is misplaced on a safe tile.

Does the solver work for Google Minesweeper Easy, Medium, and Hard?

Yes! You can set custom rows and columns here or open our dedicated Google Minesweeper Solver (/google-minesweeper-solver), which comes pre-loaded with 8×10, 14×18, and 20×24 presets.

Player Comments & Questions