Minesweeper Solver

How to Use

  • Setup: Enter the number of rows and columns, then click "Create Board".
  • Input Mode: Click any cell to set its value:
    • Number (0-8): Revealed safe cell with that many adjacent bombs
    • b, f, or m: Flag as bomb (orange flag)
    • s or c: Mark as definitely safe (green)
    • ?: Mark as unknown/unrevealed
  • Select Mode: Click "Select Mode", then click cells to select/deselect them. Use the input field to set all selected cells at once.
  • Solver: Click "Solve Step" to let the solver make deductions. Repeat as needed.
  • Undo/Redo: Use the Undo and Redo buttons to navigate through your actions.
Tip: On mobile, use landscape mode for a better experience with larger boards.