A free C++/Qt implementation of minesweeper, now with dark mode!
Download the latest release assets here. Linux users can either install from the APT repository or build from source.
You'll need CMake, a C++20 compiler (e.g. g++13 or clang-18) and Qt 6.7.2 or newer with the qtscxml module installed.
git clone https://github.com/nholthaus/minesweeper.git
cd minesweeper
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Release ..
cmake --build . --target minesweeper -- -j
./bin/minesweeperInstall the signing key:
curl -fsSL https://nholthaus.github.io/minesweeper/apt/minesweeper-archive-keyring.asc | gpg --dearmor | sudo tee /usr/share/keyrings/minesweeper-archive-keyring.gpg >/dev/nullAdd the repository:
echo "deb [signed-by=/usr/share/keyrings/minesweeper-archive-keyring.gpg] https://nholthaus.github.io/minesweeper/apt stable main" | sudo tee /etc/apt/sources.list.d/minesweeper.list
sudo apt updateInstall or upgrade Minesweeper:
sudo apt install minesweeperThe APT repository is published from tag builds to the gh-pages branch and is signed with the following GitHub Actions secrets:
APT_GPG_PRIVATE_KEY: ASCII-armored private key used to signReleaseAPT_GPG_KEY_ID: key ID or fingerprint for the signing keyAPT_GPG_PASSPHRASE: passphrase for the private key, if any
GitHub Pages should be configured to serve the gh-pages branch from the repository root.



