Skip to content

AyumiizZ/Minesweeper

Repository files navigation

Minesweeper game

A medium difficult minesweeper game (16x16 grid with 40 mines)

(01204215 Object-Oriented Programming Laboratory class)

Table of contents

How to play

1. Run and get this window. alt text

2. Click any square on the grid. alt text

3. Review the numbers.

Any number on the board refers to the number of mines currently touching that number's square.

4.Right-click any squares that you think contain mines.

This will put a flag on the square. 5.Double-right-click any squares that are uncertain.

Doing so will place a question mark over the square alt text

6.Click any squares that don't contain mines.

Don't click mine grid... alt text

7.Clear the board.

To win a round of Minesweeper, you must click on the board every square that doesn't have a mine under it. alt text

Back to top

Grid meaning

1. Blank grid alt text

This grid means not have mine around this grid.

2. Number grid alt text alt text alt text alt text alt text alt text alt text alt text

This grid means have 1-8 mine(s) around this grid.

3. Mines grid alt text alt text

The red one is mine that you clicked and black one with blue grid is mine that you unclicked it. (It will reveal after you lose.)

4. Wrong flag grid alt text

This will append when you lose with wrong flag pinned.

5. Question flad grid alt text

This is marked grid. When double-left-click some grid the question will count as flag.

6. Not reveal grid alt text

This grid is not reveal yet. It waiting for you click. (It can be blank grid, number grid or Mine grid)

7. Flag grid alt text

This grid is the grid that you mark as mine.

Back to top

Tips

1.Double-left-click

It help you to reveal around grid.

2.Question until sure

It make you more safe to win this game.

Back to top

Tutorial for Git beginner

Windows user

First way (beginner's way: Not recommend)

  1. Click "Clone or download" (Green button).
  2. Click "Download ZIP".
  3. Unzip and enjoy my game :)

Second way

  1. Install git bash.
  2. Right click on your destination folder.
  3. Click git bash here.
  4. paste this command git clone https://github.com/AyumiizZ/Minesweeper.git in git bash.
  5. Enjoy my game :P

Back to top

Linux or macOS user

  1. Open your terminal.
  2. mkdir <your directory name>.
  3. cd <your directory name>.
  4. git clone https://github.com/AyumiizZ/Minesweeper.git.
  5. Enjoy my game :3

Back to top

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages