https://github.com/cod-e-codes/minesweeper
A modern Minesweeper game built with Flutter, featuring a clean UI, animations, and classic gameplay.
https://github.com/cod-e-codes/minesweeper
animations flutter flutter-app game lottie minesweeper provider
Last synced: 3 months ago
JSON representation
A modern Minesweeper game built with Flutter, featuring a clean UI, animations, and classic gameplay.
- Host: GitHub
- URL: https://github.com/cod-e-codes/minesweeper
- Owner: Cod-e-Codes
- Created: 2024-11-27T21:50:45.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-11-28T00:27:04.000Z (about 1 year ago)
- Last Synced: 2025-01-04T20:42:36.422Z (12 months ago)
- Topics: animations, flutter, flutter-app, game, lottie, minesweeper, provider
- Language: Dart
- Homepage: https://github.com/Cod-e-Codes/minesweeper
- Size: 2.33 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Flutter Minesweeper
A modern Minesweeper game built with Flutter! This app features a clean UI, animations, and classic Minesweeper gameplay.
## Features
- **Dynamic Grid:** A 10x10 grid with 15 randomly placed mines.
- **Flagging:** Long-press to flag potential mines.
- **Win/Lose Alerts:** Notifications for game win or loss.
- **Lottie Animation:** Modern animated start screen.
- **Restart Option:** Restart the game at any point.
- **Provider State Management:** Manages game logic and state efficiently.
## Screenshots
### Start Screen

### Gameplay

## How to Play
1. **Start the Game:** Tap on the "Start Game" button to begin.
2. **Reveal Cells:** Tap on cells to reveal them. Avoid mines!
3. **Flag Cells:** Long-press on a cell to flag it as a mine.
4. **Win Condition:** Reveal all non-mine cells to win the game.
5. **Lose Condition:** Reveal a mine to lose the game.
## Installation
1. Clone the repository:
```bash
git clone https://github.com/Cod-e-Codes/minesweeper.git
```
2. Navigate to the project directory:
```bash
cd flutter-minesweeper
```
3. Install dependencies:
```bash
flutter pub get
```
4. Run the app:
```bash
flutter run
```
## Requirements
- Flutter SDK
- Compatible with Android, iOS, and Web.
## Credits
Developed by [CodēCodes](https://www.cod-e-codes.com).
## License
This project is licensed under the MIT License.