This Minesweeper game offers a modern take on the classic puzzle, featuring pixel art graphics and customizable difficulty levels (easy, medium, and hard). Players uncover tiles on a grid while avoiding hidden mines, using logic to flag potential danger spots. The game includes smooth transitions, intuitive controls, and immersive sound effects. With a user-friendly interface, it’s designed for both casual players and those looking for a challenge. Whether you win or lose, the game offers a rewarding experience, complete with a dynamic score display and real-time tracking of your progress.
- Pygame: Used to handle graphics, input, and sound effects.
- Random: Used to generate random blocks and colors.
- Python 3.x
- pygame
pip install pygame
- A modern web browser (optional, for opening social links)
git clone [email protected]:dev-world-rohit/MineSweeper.git
cd Tetris
pip install pygame
To start the game, use the following command:
python main.py
1. Pixel Art Graphics
The game uses custom 16x16 pixel art for tiles, mines, and numbers, giving it a retro yet polished look that stands out from traditional Minesweeper designs.
2. Customizable Difficulty Levels
Players can choose between easy, medium, and hard modes, each offering a unique challenge that tailors to various skill levels.
3. Dynamic Game Reset
After each game, players can quickly restart with their preferred difficulty without needing to exit or reload, allowing for continuous gameplay flow.