扫雷游戏
一个使用 Flutter 构建的扫雷游戏应用
- 星标
- 14
- 复刻
- 8
- 最近推送(UTC)
- 2024年8月8日
- 项目状态
- 未归档
原始 README
以下为英文项目原文快照,最新内容请访问 GitHub。
Minesweeper Game App
This is a simple Minesweeper game app developed using Flutter/Dart technologies. It features 3 difficulty settings, sound effects, and a statistics page to keep track progress. The game is implemented using the Provider package for state management and developed with MVC (Model-View-Controller) software architecture.
Installation
To use this app, simply clone the project and run it in your preferred IDE. No additional installation is required.
Usage
To start a new game, click New game button and the game board will be generated automatically. You can choose a difficulty level for different sizes of game board and mine counts. To play, tap on any of the cells on the board to reveal what's underneath. If you reveal a bomb, the game is over. If you reveal a number, it indicates how many bombs are adjacent to that cell. Use this information to avoid the bombs and uncover the entire board to win the game.
To mark a cell that you think contains a mine, you can hold down on the cell to place or remove a flag. There are as many flags as mines in the game, and you can use them to keep track of where you think the mines are.
Features
- 3 difficulty settings
- Sound effects
- Timer that starts when the game begins
- Flags for marking cells that contain mines
- Board size changes based on difficulty setting
- Gameplay metrics tracking
Technologies Used
- Flutter
- Dart
- Provider package for state management
- just_audio package for playing sounds
- shared_preferences package for saving high scores
- google_fonts package for font styles
Screenshots
| HomeView | Gameplay | Gameplay | Statistics |
|---|---|---|---|
![]() |
![]() |
![]() |
![]() |
Preview
https://user-images.githubusercontent.com/83721234/227311414-8494b690-8cb6-4a28-9e3f-d068b2fd4f25.mp4
Roadmap
- Add more sound effects and music options
- Add the ability to customize game settings
- Implement a leaderboard for tracking high scores
Contributing
As this project was made by only one person, there is no team to contribute to it. However, feel free to fork the project and make your own changes or improvements.
Credits
Created by @recepsenoglu - feel free to contact me!
License
This project is licensed under the MIT License - see the LICENSE.md file for details.
分类
使用的依赖
依赖清单 12 项
- flutter
{"sdk":"flutter"} - cupertino_icons
^1.0.2 - google_fonts
^6.1.0 - provider
^6.0.5 - just_audio
^0.9.31 - shared_preferences
^2.0.18 - url_launcher
^6.2.3 - in_app_review
^2.0.8 - share_plus
^10.0.0 - easy_localization
^3.0.3 - flutter_test开发依赖
{"sdk":"flutter"} - flutter_lints开发依赖
^4.0.0
App 分类
如何选择适合项目的代码仓?
先按使用场景筛选,再比较项目活跃情况,最后到原始仓库核对使用要求。
- 通过仓库名、作者或描述搜索,再按技术分类缩小范围。
- 结合星标、复刻与最近推送比较项目;星标反映社区关注,不代表质量保证。
- 使用前在 GitHub 核对 README、许可证与 Issues。
来源与维护
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗



