Skip to content

khansubhan95/minesweeper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Minesweeper

A simple clone of the minesweeper game with 9x9 grid and 10 mines, written in Python.

minesweeper

Prerequisites

  1. Python 3.6
  2. Pygame

Installation

Clone the repo

git clone https://github.com/khansubhan95/minesweeper

Install dependencies

pip3 install -r requirements.txt

Enter into the cloned repo and run

python3 minesweeper.py

to run the game

How to play

Each number on a tile represents the number of mines in the neighbouring tiles. The neighbors to a tile are the 8 tiles surrounding it. Clicking on a mine ends the game. If you think you have found a mine, right click to place a flag on it. Placing the 10 flags at the correct mine positions(finding all the mines), makes you win the game.

About

A minesweeper clone in Python

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages