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.
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.
- Clone the repository:
git clone https://github.com/DeusCL/minesweeper.git
- Navigate to the project directory:
cd minesweeper
- Install dependencies:
pip install -r requirements.txt
- Run the game:
python main.py
- Python
- Pygame
- NumPy
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.
For any questions or comments, feel free to contact me:
- Email: [email protected]