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
- Host: GitHub
- URL: https://github.com/dariarty/minesweeper_qt
- Owner: Dariarty
- License: mit
- Created: 2024-08-28T14:59:50.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-09-12T15:35:46.000Z (about 1 year ago)
- Last Synced: 2025-02-01T23:41:16.401Z (8 months ago)
- Topics: cpp, game, github-pages, minesweeper, qmake, qml, qt
- Language: QML
- Homepage: https://dariarty.github.io/Minesweeper_Qt/
- Size: 20.6 MB
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Minesweeper_Qt
[](https://github.com/Dariarty/Minesweeper_Qt/blob/main/README.md)
[](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 - FlaticonCross 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.