thiagotn / minesweeper

Minesweeper Game using Flutter

Home Page:https://play.google.com/store/apps/details?id=dev.thiagotn.minesweeper&hl=pt&gl=US

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

minesweeper

Minesweeper Flutter Game

Available at Google Play

thumbnail

Video of game in action available here.

Inspired by: https://minesweeper.online/pt/game/639574193

Assets from: https://iconduck.com

Fonts from: https://fonts.google.com

Minesweeper Rules

Objective and basic concepts

The objective in Minesweeper is to find and mark all the mines hidden under the grey squares, in the shortest time possible. This is done by clicking on the squares to open them. Each square will have one of the following:

A mine, and if you click on it you'll lose the game.
A number, which tells you how many of its adjacent squares have mines in them.
Nothing. In this case you know that none of the adjacent squares have mines, and they will be automatically opened as well.

It is guaranteed that the first square you open won't contain a mine, so you can start by clicking any square. Often you'll hit on an empty square on the first try and then you'll open up a few adjacent squares as well, which makes it easier to continue. Then it's basically just looking at the numbers shown, and figuring out where the mines are.

Credits: https://cardgames.io/minesweeper/#rules

Android

Generate appBundle

flutter clean

flutter packages get

flutter build appbundle

fastlane beta

Web

flutter run -d chrome

Getting Started

This project is a starting point for a Flutter application.

A few resources to get you started if this is your first Flutter project:

For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.

Tests

Run tests and generate coverage file:

flutter test --coverage

Generate HTML report from coverage file:

genhtml coverage/lcov.info -o coverage/html

Open HTML report using Firefox:

genhtml coverage/lcov.info -o coverage/html

About

Minesweeper Game using Flutter

https://play.google.com/store/apps/details?id=dev.thiagotn.minesweeper&hl=pt&gl=US


Languages

Language:HTML 72.4%Language:Dart 17.6%Language:CSS 9.1%Language:Ruby 0.5%Language:Swift 0.2%Language:Kotlin 0.1%Language:Shell 0.0%Language:Objective-C 0.0%