recepsenoglu/minesweeper
一個使用 Flutter 建構的掃雷遊戲應用
- Stars
- 14
- Forks
- 8
- 最近推送(UTC)
- 2024年8月8日
- 專案狀態
- 未封存
技術主題
使用的依賴
依賴清單 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 分類
原始 README
以下為英文專案原文快照,最新內容請造訪 GitHub。
展開 / 收合專案 README
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 |
|---|---|---|---|
| https://raw.githubusercontent.com/recepsenoglu/minesweeper/HEAD/screenshots/home.png | https://raw.githubusercontent.com/recepsenoglu/minesweeper/HEAD/screenshots/gameplay.png | https://raw.githubusercontent.com/recepsenoglu/minesweeper/HEAD/screenshots/lose_screen.png | https://raw.githubusercontent.com/recepsenoglu/minesweeper/HEAD/screenshots/statistics.png |
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.