Skip to content

About

A faithful recreation of the Windows 7 Minesweeper. Made using exported assets from the actual Windows 7 game, in albeit, a lower resolution.

Topics

Resources

Stars

26 stars

Watchers

0 watching

Forks

Repository files navigation

linux-minesweeper

The Windows 7 Minesweeper, on Linux

A faithful recreation of the Windows 7 Minesweeper built with Qt6, using the original game's artwork - the tiles, mines, flags, counters, and window frame are blitted from the sprite sheets extracted by Lmy0217/Minesweeper. Best enjoyed with AeroThemePlasma.


Note

Built for CachyOS / Arch Linux. Only Qt6 Widgets and Multimedia (for the sounds) are required, so this should build unchanged on any distro with Qt6 packages.

A Beginner board mid-game in the blue theme, showing the Windows 7 frame, the numbered tiles, and the time and mine counters. The Bosnia difficulty: a 24x30 board with 192 mines, played under a faint Bosnian flag. The same board in the green theme, one of the selectable appearances.

Installation

Arch / CachyOS (AUR)

yay -S linux-minesweeper

Pre-built binaries

Download the latest binary for your architecture from the Releases page and place it somewhere in your $PATH:

chmod +x MineSweeper-x86_64
sudo mv MineSweeper-x86_64 /usr/local/bin/MineSweeper

Building

sudo pacman -S qt6-base qt6-multimedia cmake
cmake -B build
cmake --build build -j
./build/MineSweeper

Features

  • The Windows 7 look, from the Windows 7 sprites: the real tiles with hover glow and press states, the drop shadows raised tiles cast onto opened cells, the real frame backdrop, and the navy time/mine counters with their clock and mine buttons
  • The Windows 7 sounds: the new-game deal, the flood-open ripple, the flag click, and the three-stage explosion on a loss (toggleable in Options)
  • The Windows 7 animations: every new board deals itself in with tiles popping up in waves from the corners, floods ripple open outward, and losing sets off the full mine cascade - the hit mine detonates first, the rest go off in rings radiating out from it (click to skip)
  • The Windows 7 rules: the first square you reveal is never a mine, flags and question marks, chording (middle-click or both buttons on a satisfied number), auto-flagging on a win
  • Beginner (9×9, 10), Intermediate (16×16, 40), and Advanced (16×30, 99) presets plus custom boards up to 24×30 with 668 mines
  • A Bosnia difficulty (24×30, 192 mines): technically beatable only by proper Minesweeper sweats - played under a faint Bosnian flag painted over the minefield. My parents are from there, one of the most landmine-contaminated countries in the world. Can you clear it faster than the real demining teams, thirty years in and still going?
  • Per-difficulty lifetime statistics: games played/won, win percentage, best time, and streaks
  • The board scales with the window, like the original
  • Win/lose dialogs with "Play again", and your difficulty and options are remembered across launches

Controls

Input Action
Left-click Reveal a square
Right-click Flag → question mark → clear
Middle-click (or left+right) Chord: clear the neighbours of a satisfied number
F2 New game
F4 Statistics
F5 Options

Part of the WSL (Windows-alike Software for Linux) series

Why don't you also check out the other ones?

About

A faithful recreation of the Windows 7 Minesweeper. Made using exported assets from the actual Windows 7 game, in albeit, a lower resolution.

Topics

Resources

Stars

26 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages