Skip to content

LunaTMT/Minesweeper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Minesweeper

Demonstration

Demo.mp4

Menu

2023-08-02.22-45-25.mp4

Win

win.mp4

Lose

lose.mp4

Easy

image

Medium

image

Hard

image

Installation & Setup

  • To run this program please make sure you have python installed on your system.
  • Download the ZIP folder from the GitHub repository.
  • Extract the contents of the zip folder into another folder on your desktop. You can do this by highlghting all the files in the red box and dropping them into the new folder.
  • Once the contents of the zip folder are in the new folder, right click main.py and you should see an option noted 'Open with IDLE.'

If you do not see this you most likely do not have python installed properly on your system. If so, please refer back to the beginning. If you'd like to know more what IDLE is please refer to Real Python's small introduciton on the topic.

  • Once inside the main.py file in your python IDE you can either:
    1. Click Run on the top tab and then click Run Module, or
    2. Simply press F5
  • The program should run and you can now play minesweeper! Enjoy :)

Personal Overview

The base game for this project took 2 days to make and I'm quite surprised how quickly I was able to accomplish this project. The hardest part of the game was the sweeping algorithm, however, I managed to get this all sorted in an evening. I think the past 3 months of leetcode questions has really helped me get to grips with algorithmic problems and how to go about solving them.

I'd like to give a personal thanks to fullptr who gave me some really solid advise about my over usage of classes in my previous reddit post, as well other advise that really made this project much simpler to make.

The next two days was followed up by refactoring, comments and making the game more presentable.

Future Projects

  • 2048
  • Doodle Jump
  • Tetris

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages