Code Monkey home page Code Monkey logo

minesweeper's Introduction

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

minesweeper's People

Contributors

thiagotn avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.