Better Minesweeper Docs
Gameplay

Controls

Mouse controls, keyboard shortcuts, chording, keyboard-as-mouse mode, and hotkey rebinding.

Mouse Controls

ActionInputNotes
Reveal a tileLeft ClickUncovers the tile. If it’s a zero, flood-fills all adjacent zeros.
Place / remove flagRight ClickMarks a tile as a suspected mine. Right-click again to remove.
ChordMiddle ClickIf a number has exactly that many adjacent flags, reveals the rest. Also bound to Left Click by default.
RestartClick the header barAnywhere in the top strip restarts the game — not just the smiley.

Optional Mouse Features

Enable these in Settings > Options.

FeatureSettingWhat It Does
Drag to revealdrag_revealHold left click and drag across tiles to reveal them.
Drag to paint flagsdrag_to_paint_flagsHold right click and drag to place flags across multiple tiles.
Fast reveal previewfast_reveal_previewPress and hold to preview a tile before releasing to reveal.
Left+Right chordchord_left_right_clickHold right and press left to chord (classic-style).

Keyboard Shortcuts

All shortcuts are rebindable. See Rebinding below.

ActionPrimaryAltNotes
Beginner1BSwitch to 9×9, 10 mines
Intermediate2ISwitch to 16×16, 40 mines
Expert3ESwitch to 30×16, 99 mines
RestartF2RNew game, new seed
Replay seedCtrl+RRestart with the same seed
OptionsTabOpen settings dialog
Stats windowSToggle per-game stats
All-time statsAlt+SOpen all-time stats dialog
Probability overlayPToggle mine probability display
Copy seedCtrl+CCopy board seed to clipboard
Load seedCtrl+VLoad seed from clipboard
Copy board imageCtrl+PCopy board as an image
Zoom inCtrl+=+Increase tile size
Zoom outCtrl+--Decrease tile size
Cluster highlightAlt+Shift+CHighlight frontier cluster under cursor
Simulate left clickunboundKeyboard key acts as left click on hovered tile
Simulate right clickunboundKeyboard key acts as right click on hovered tile

Chording

When a revealed number already has exactly that many adjacent flags, chording it reveals all remaining adjacent covered tiles at once. It’s the core mechanic for fast play.

Chord Methods

  • Middle click — Default. Works on any satisfied number.
  • Left click on number — Also on by default. Clicking a revealed number chords it.
  • Left+Right click — Hold right, press left. Off by default; enable chord_left_right_click.

Chord Variants

  • Auto-chord on flag — Placing a flag that satisfies a number automatically chords it. Marks the run as assisted.
  • Continuous chord (Flood Chord) — A chord cascades: numbers satisfied by the reveal are automatically chorded in turn.

Keyboard-as-Mouse Mode

Play entirely from the keyboard. Enable via Settings > Options (keyboard_as_mouse_enabled). Arrow keys or WASD move the cursor, with dedicated bindings for reveal, flag, and chord. Events record normally for replay playback.

Combined with the Simulate left/right click hotkeys, this supports fully keyboard-driven play on any layout.

Rebinding Hotkeys

  1. Press Tab to open the options dialog.
  2. Navigate to the Hotkeys section.
  3. Click the binding slot you want to change.
  4. Press the new key or combination.
  5. Conflicts are flagged automatically before saving.

Each action has three slots (Primary, Alt, Third). Only the Primary appears in menus and tooltips.

Supported Binding Types

Single keys
Letters (AZ), digits (09), function keys (F1F12), symbols
Modifier combos
Ctrl+key, Alt+key, Shift+key, Ctrl+Shift+key, Alt+Shift+key
Mouse buttons
MouseLeft, MouseRight, MouseMiddle, Mouse4, Mouse5
Special keys
Space, Enter, Tab, Escape, Backspace, Delete, arrow keys

Hotkey bindings are stored at:

  • Windows: %LOCALAPPDATA%\BetterMinesweeper\hotkeys.json
  • Linux: ~/.config/BetterMinesweeper/hotkeys.json

Cursor Lock

Enable lock_cursor_to_board in settings to confine the mouse to the board area during play — handy on multi-monitor setups.