Minesweeper Lab

Minesweeper Lab

The first revealed cell and its eight neighbors contain no mines. Read the numbers to open safe cells, and mark suspected cells with flags or questions.

1. Board settings

Width and height are 5–14 cells. The mine count must be at least 1 and at most total cells minus 9, reserving a 3×3 first-click safe zone at any location.

2. Play Minesweeper

Choose Reveal or Mark first. Touch or click performs the selected action; right click or F cycles the mark.

Awaiting first reveal · Safe cells left 54 · flags 0/10 · actions 0 · seed 2472026

Cell action

Arrow keys move one cell; Home/End jump to row ends; Enter/Space perform the selected action; F cycles marks. Right click also marks.

3. Save and verify

JSON contains settings, seed and actions, all replayed on import. The seed can be used to derive mine locations. Full board CSV is available only after a win or loss.

Comments & questions

Minesweeper Lab

A revealed number counts mines in its eight surrounding cells, including diagonals. The first revealed cell and its neighbors are excluded from mine placement. Zero cells flood-reveal unmarked safe neighbors. Reveal every safe cell to win; opening a mine loses. Flags are optional for the win rule.

Key features

  • 5×5 to 14×14 board with mine count and replayable seed
  • Deterministic placement outside the first reveal's 3×3 safe zone
  • Eight-neighbor counts and breadth-first zero-cell flood reveal
  • None→flag→question mark cycle, right click, touch mode and F key
  • Win by revealing all safe cells, lose on a mine, then show the finished board
  • Strict version 1 JSON with replayed actions, action CSV and finished-board CSV

How to use

  1. Choose 5–14 rows and columns, a mine count and a seed, then start a game.
  2. In Reveal mode, open the first cell; it and all on-board neighbors have no mines.
  3. Use the exposed numbers to infer all eight neighbors; cycle flags and question marks with Mark mode, right click or F.
  4. Continue until all safe cells are revealed or a mine is opened.
  5. Save the session JSON or action CSV, and after the result download the full mine/count board CSV to compare with the seed and first click.

Use cases

  • Practice reasoning from adjacent mine counts and empty regions
  • Compare the same seed and first click with a friend
  • Use flags and question marks as hypotheses with keyboard or touch

Frequently asked questions

How safe is the first click?

The first actually revealed cell and its on-board eight neighbors are excluded from mine candidates. You may flag before the first reveal, but a flagged cell cannot be opened and does not count as the first click.

How do flags and question marks work?

Each Mark action cycles hidden→flag→question→hidden. Flags block direct and automatic reveal. Question marks survive automatic flood, but directly opening one clears the question mark and reveals the cell.

Must every mine have a flag to win?

No. Reveal all non-mine cells to win. If a mistaken flag covers a safe cell, remove it and reveal that cell.

Do the saved record and seed prove competitive fairness?

The version 1 JSON replays each action and checks the resulting state and mine layout. The same settings, seed and first reveal produce the same layout. Anyone with the seed can compute mine positions, so this does not prevent cheating or certify a competition.

Does the board go to a server?

No. Generation, play, validation and exports run in the browser tab. Files are saved locally only on request.

Privacy

Settings and actions stay in the current browser tab. JSON and CSV are downloaded only when requested, with no automatic remote submission.

Related Tools

Focus Games · Numbers and Ink ColorsNonogram StudioSudoku StudioKakuro StudioFunction Graph WorkbenchAudio ABX Blind TestCard Sort StudyEvent Run of ShowChecklist RunnerKanban Project BoardMind Map WorkbenchArgument Map EditorTeam Skill MatrixCorpus ConcordancerTerminology Glossary ManagerCloze Worksheet MakerSliding Tile PuzzleReversi BoardTangram StudioCrossword BuilderWord Ladder GameWord Search StudioAnagram Word GameConnect Four BoardAttribute Trio PuzzleMaze WorkbenchNumber Merge GameLogic Grid Puzzle MakerLights Out PuzzlePeg Solitaire BoardArithmetic Cage PuzzleChess Tactics BoardProjectile Motion LabGeometry Construction LabEtymology Map ExplorerPronunciation Comparison StudioReading PacerPhonetic Transcription LabProbability Experiment LabPeriodic Trend LabAlgebra Balance LabPhonics Word BuilderSpaced Repetition CardsService Blueprint DesignerOrganization Chart EditorProject Risk RegisterHabit Progress TrackerProcess Swimlane DesignerResource Capacity SchedulerInventory Movement LedgerRanked Ballot CounterUsability Task RunnerRequirements TraceabilitySentence Structure LabTranslation Memory WorkbenchDictation PracticeFraction ManipulativesMolecule Structure ViewerGantt Dependency PlannerWeighted Decision MatrixRound Robin SchedulerMental age test · everyday attitude themesPast-life story test27-question Enneagram explorerKorean initials quizColor vision reference platesPitch Recognition PracticeNumber Memory PracticeMoving Target RecognitionScoreboardBingo Card GeneratorTruth or DareQuote of the DayPreference Tournament MakerRock Paper ScissorsRandom Seating PlanRandom Nickname GeneratorRandom Conversation QuestionsMouse TestTouchscreen TestMonitor TestRefresh Rate EstimateScreen and Display InformationKorean Business Number CheckLotto GeneratorLadder GameCompatibility CheckerRandom GeneratorPassword GeneratorMy IP AddressLunch PickerSpin the WheelMetronomeReaction Time TestBalance Game (Would You Rather)Personality Type TestDream DictionaryKeyboard Test
Explore all Life/Fun tools →Image/Media →Text/Convert →Dev Tools →