Skip to content

A semi-full recreation of the game minesweeper made in Python using Pygame

Notifications You must be signed in to change notification settings

DeusCL/minesweeper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Minesweeper

Project Description

This project is a recreation of the famous Minesweeper game implemented in Python using Pygame. The game aims to offer a similar experience to the original, preserving the design and "chording" mechanics.

Project Status

The project is considered complete and functional. However, additional improvements and adjustments can be made in the future. Adding a menu bar to modify difficulty through options is still pending.

Screenshots

New game in expert mode:

Captura de Pantalla 1

Game lost in expert mode:

Captura de Pantalla 2

Game won in intermediate mode:

Captura de Pantalla 2

Usage Instructions

  1. Clone the repository: git clone https://github.com/DeusCL/minesweeper.git
  2. Navigate to the project directory: cd minesweeper
  3. Install dependencies: pip install -r requirements.txt
  4. Run the game: python main.py

Technologies Used

  • Python
  • Pygame
  • NumPy

Project Structure

The project has been divided into several modules for better organization:

  • main.py: Main file to run the game.
  • board.py: Contains the game logic and board representation.
  • msdraw.py: Contains functions for drawing and visual representation.
  • msgui.py: Contains elements of the user interface, such as counters and the smiling button.
  • conf.py: Configuration file.

Contact

For any questions or comments, feel free to contact me: