Giter VIP home page Giter VIP logo

minesweeper-sfml's Introduction

Minesweeper-SFML

A game programmed through classes in C++ language with the use of inheritance and SFML graphics library implementation as GUI


INSTRUCTIONS

1-Left-click on any cell to start the game.

2-If the clicked cell contains a mine, you lose. The game ends.

3-If the clicked cell is safe, a number will appear, indicating the number of mines adjacent to that cell.

4-Use the numbers as clues to identify safe cells.

5-To help track potential mine locations, right-click on a cell to place a flag.

6-If you suspect a cell contains a mine but are unsure, you can mark it with a question mark by right-clicking again.

7-Analyze the numbers and patterns to make educated guesses about safe and mine-containing cells.

8-Continue left-clicking on safe cells to uncover more of the board.

9-Be cautious! Accidentally clicking on a cell containing a mine will end the game.

10-Repeat the above steps until you have flagged or uncovered all safe cells.

If you successfully uncover all safe cells without clicking on any mines, you win the game!


mine mine1 mine2

minesweeper-sfml's People

Contributors

muhammadabdullahnaeem1 avatar

Watchers

 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.