GithubHelp home page GithubHelp logo

mine-sweeper's Introduction

Minesweeper - Laborde Quentin, Kies Rémy

LOGO


SCREENSHOT

Sommaire :

User Manual

Compilation

cd new
make

Cleaning

cd new
make mrproper

Optionnal arguments

Choose random seed :

./minesweeper [-r seed]

The default grid is a 10x10 size with 10 mines.

Generate a grid with parameters:

./minesweeper [-c "h l m"]

Where h signify the height, w the width and m the number of mines.
The number of mines m must be lower than the number of tiles l*m.

Generate a map from a map file (.ga):

./mine [filename]

If the file doesn't exist a random map will be generated.

You can use multiple arguments at the same time.
The game can be lunch without argument, the program will lunch a 10x10 grid with 10 mines.

Game

Rules are the same as a classic minesweeper.

When the program is launch, the user can :

  • Use left click to reveal a tile.
  • Use right click to place or remove a flag.

Feature :

  • Save
    • The user can save at any moment the game, the save will go in the folder grid in the file save.ga.

Laborde Quentin, Kies Rémy

mine-sweeper's People

Contributors

goururk avatar quentinl03 avatar

Stargazers

 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.