Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

10 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿ’ฃ Minesweeper

A sleek, dark-themed Minesweeper game built with Python and Pygame, featuring procedurally generated audio, screen shake effects, and neon-colored UI.

๐ŸŽฎ Features

  • 16ร—16 grid with 30 mines โ€” a classic intermediate layout
  • Safe first click โ€” mines are never placed on or adjacent to your first reveal
  • Neon number colors for a modern dark UI aesthetic
  • Screen shake on mine detonation
  • Procedurally generated explosion sound โ€” no audio files needed
  • Animated flickering fire on triggered mines
  • Play Again / Exit buttons on game end

๐Ÿš€ Getting Started

Prerequisites

  • Python 3.8 or higher
  • pip

Installation

  1. Clone the repository

    git clone https://github.com/YOUR_USERNAME/minesweeper.git
    cd minesweeper
  2. Install dependencies

    pip install -r requirements.txt
  3. Run the game

    python minesweeper.py

๐Ÿ•น๏ธ Controls

Action Input
Reveal cell Left Click
Place / Remove flag Right Click
Play Again Click button
Exit Click button or close window

๐Ÿ“ Project Structure

minesweeper/
โ”œโ”€โ”€ minesweeper.py      # Main game file
โ”œโ”€โ”€ requirements.txt    # Python dependencies
โ”œโ”€โ”€ .gitignore          # Git ignore rules
โ””โ”€โ”€ README.md           

๐Ÿ› ๏ธ Built With

  • Python โ€” Core language
  • Pygame โ€” Game engine & audio
  • 'array' module โ€” Procedural audio buffer generation

About

Dark-themed Python Minesweeper with procedural audio

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages