An open API service indexing awesome lists of open source software.

https://github.com/dariarty/minesweeper_qt

Minesweeper game made with C++/Qt/QML with improved classic GUI and cutomizable rules
https://github.com/dariarty/minesweeper_qt

cpp game github-pages minesweeper qmake qml qt

Last synced: 8 months ago
JSON representation

Minesweeper game made with C++/Qt/QML with improved classic GUI and cutomizable rules

Awesome Lists containing this project

README

          

# Minesweeper_Qt

[![en](https://img.shields.io/badge/lang-en-blue.svg)](https://github.com/Dariarty/Minesweeper_Qt/blob/main/README.md)
[![ru](https://img.shields.io/badge/lang-ru-red.svg)](https://github.com/Dariarty/Minesweeper_Qt/blob/main/README.ru.md)

Play in browser - WebAssembly version hosted on GitHub Pages

Minesweeper game with improved classic GUI.
Cross-platform application made with C++/Qt/QML for Windows, Linux and WebAssembly.

## Features

* Classic minesweeper gameplay with clean GUI
* Customizable difficulty options (field height and width, number of mines)
* Resizable scale of field
* Desktop and WebAssembly versions

## Screenshots

Beginner




Intermediate




Expert




Dialog for choosing custom game rules




Settings to change field zoom




## Building Source Code
App supports Windows, Linux and WebAssembly (using Qt for WebAssembly).
Prerequisites: Qt 6.5+, GCC (or other) C++ compiler, Qt Creator, Qt Linguist
1. Download and install Qt6 and Qt Creator.
2. Configure Qt Creator Kit for Desktop or WebAssembly using Emscripten.
3. Clone the repo.
```sh
git clone https://github.com/Dariarty/Minesweeper_Qt.git
```
4. Open src/minesweeper.pro in Qt Creator.
5. Run lrelease tool to read the TS files and produce the QM translation files.
Qt Creator > Tools > External > Linguist > Release Translations (lrelease)
7. Run qmake.
8. Build the project in Qt Creator.

## Attributions
Mine icons created by Creaticca Creative Agency - Flaticon

Cross icon created by Pixel Perfect - Flaticon

Emoji icons for reset button created by NajmunNahar - Flaticon

Flag icon created by sonnycandra - Freepik

## License

Distributed under the MIT License. See [LICENSE](LICENSE) for more information.